android_kernel_motorola_sm6375/drivers/soundwire
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pierre-Louis Bossart f5c6ebd514 soundwire: intel: fix memory leak with devm_kasprintf
[ Upstream commit bf6d6e68d2028a2d82f4c106f50ec75cc1e6ef89 ]

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 <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2020-07-22 09:33:00 +02:00
..
bus.c
bus.h
bus_type.c
cadence_master.c
cadence_master.h
debugfs.c
intel.c soundwire: intel: fix memory leak with devm_kasprintf 2020-07-22 09:33:00 +02:00
intel.h
intel_init.c
Kconfig soundwire: depend on ACPI || OF 2019-10-15 16:15:58 +05:30
Makefile
mipi_disco.c
slave.c soundwire: slave: don't init debugfs on device registration error 2020-06-24 17:50:23 +02:00
stream.c