aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorAmadeusz Sławiński <[email protected]>2019-05-22 16:21:41 +0000
committerMark Brown <[email protected]>2019-06-06 16:37:01 +0000
commit6d647b736a6b1cbf2f8deab0e6a94c34a6ea9d60 (patch)
tree16436647368b00dd04435ef436d42056b0dbfea4 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentASoC: SOF: Intel: hda: use the defined ppcap functions (diff)
downloadkernel-6d647b736a6b1cbf2f8deab0e6a94c34a6ea9d60.tar.gz
kernel-6d647b736a6b1cbf2f8deab0e6a94c34a6ea9d60.zip
ALSA: hdac: fix memory release for SST and SOF drivers
During the integration of HDaudio support, we changed the way in which we get hdev in snd_hdac_ext_bus_device_init() to use one preallocated with devm_kzalloc(), however it still left kfree(hdev) in snd_hdac_ext_bus_device_exit(). It leads to oopses when trying to rmmod and modprobe. Fix it, by just removing kfree call. SOF also uses some of the snd_hdac_ functions for HDAudio support but allocated the memory with kzalloc. A matching fix is provided separately to align all users of the snd_hdac_ library. Fixes: 6298542fa33b ("ALSA: hdac: remove memory allocation from snd_hdac_ext_bus_device_init") Reviewed-by: Takashi Iwai <[email protected]> Signed-off-by: Amadeusz Sławiński <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions