summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2020-09-30 08:51:46 +0300
committerTakashi Iwai <tiwai@suse.de>2020-09-30 13:56:32 +0300
commitf4794c6064a83d2c57b264bd299c367d172d1044 (patch)
tree91119f8e7ee2cd196e5eb57ceb9785ab96e672a0 /tools/perf/scripts/python/export-to-postgresql.py
parent13468bfa8c58731dc9ecda1cd9b22a191114f944 (diff)
downloadlinux-f4794c6064a83d2c57b264bd299c367d172d1044.tar.xz
ALSA: hda - Don't register a cb func if it is registered already
If the caller of enable_callback_mst() passes a cb func, the callee function will malloc memory and link this cb func to the list unconditionally. This will introduce problem if caller is in the hda_codec_ops.init() since the init() will be repeatedly called in the codec rt_resume(). So far, the patch_hdmi.c and patch_ca0132.c call enable_callback_mst() in the hda_codec_ops.init(). Signed-off-by: Hui Wang <hui.wang@canonical.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20200930055146.5665-1-hui.wang@canonical.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions