diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2023-01-19 15:32:08 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-01-31 19:57:17 +0530 |
commit | 5ec0c8721c06fc55d8a0bb32c403228358987eb6 (patch) | |
tree | b0bf757a503ce8f3983861157b535eb87a061e32 /drivers/mmc | |
parent | 3bd3bc2ada84229e74f974d4dafcaca59ae8347f (diff) | |
download | linux-5ec0c8721c06fc55d8a0bb32c403228358987eb6.tar.gz linux-5ec0c8721c06fc55d8a0bb32c403228358987eb6.tar.bz2 linux-5ec0c8721c06fc55d8a0bb32c403228358987eb6.zip |
soundwire: stream: use consistent pattern for freeing buffers
The code should free the message buffer used for data, the message
structure used for control and assign the latter to NULL. The last
part is missing for multi-link cases, and the order is inconsistent
for single-link cases.
Link: https://github.com/thesofproject/linux/issues/4056
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230119073211.85979-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions