2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 14:14:01 +08:00
linux-next/drivers/soundwire
Pierre-Louis Bossart bf6d6e68d2 soundwire: intel: fix memory leak with devm_kasprintf
The dais are allocated with devm_kcalloc() but their name isn't
resourced managed and never freed. Fix by also using devm_ for the dai
names as well.

Fixes: c46302ec55 ('soundwire: intel: Add audio DAI ops')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200617163536.17401-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-06-22 17:15:20 +05:30
..
bus_type.c soundwire: add Slave sysfs support 2020-05-20 17:22:41 +05:30
bus.c soundwire: add Slave sysfs support 2020-05-20 17:22:41 +05:30
bus.h soundwire: add Slave sysfs support 2020-05-20 17:22:41 +05:30
cadence_master.c soundwire: intel: (cosmetic) remove multiple superfluous "else" statements 2020-05-11 11:42:39 +05:30
cadence_master.h soundwire: cadence: make SSP interval programmable 2020-03-19 12:43:04 +05:30
debugfs.c soundwire: debugfs: clarify SDPX license with GPL-2.0-only 2020-05-05 08:51:44 +05:30
intel_init.c soundwire: intel: (cosmetic) remove multiple superfluous "else" statements 2020-05-11 11:42:39 +05:30
intel.c soundwire: intel: fix memory leak with devm_kasprintf 2020-06-22 17:15:20 +05:30
intel.h soundwire: intel: update stream callbacks for hwparams/free stream operations 2019-12-12 09:17:06 +05:30
Kconfig soundwire: qcom: add support for SoundWire controller 2020-01-14 11:57:47 +05:30
Makefile soundwire: intel: use a single module 2020-05-20 19:24:55 +05:30
master.c soundwire: master: add sysfs support 2020-05-20 17:22:36 +05:30
mipi_disco.c soundwire: disco: s/ch/channels/ 2020-05-20 17:22:30 +05:30
qcom.c soundwire: bus_type: add sdw_master_device support 2020-05-19 12:44:35 +05:30
slave.c soundwire: bus_type: introduce sdw_slave_type and sdw_master_type 2020-05-19 12:44:34 +05:30
stream.c Merge branch 'topic/ro_wordlength' into next 2020-03-20 19:25:14 +05:30
sysfs_local.h soundwire: add Slave sysfs support 2020-05-20 17:22:41 +05:30
sysfs_slave_dpn.c soundwire: fix spelling mistake 2020-05-20 17:29:37 +05:30
sysfs_slave.c soundwire: fix trailing line in sysfs_slave.c 2020-05-20 17:27:45 +05:30