summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-09 15:33:39 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-10 09:50:05 +0200
commit8cbf75d115e97b7f5ba7859d30d0ce74d1af6c19 (patch)
tree491c03abc807e229d9eabce187a6d88b786a2e6c /tools/lib/python/kdoc
parent66530fbe5252eef5e5386a894804c62e10ecfdea (diff)
ALSA: hda: Add NULL check for the driver pointer at unsol event work
snd_hdac_bus_process_unsol_events() assumes that the codec driver is always set when it's accessible from the codec table. It's true in general, but in a sheer timing, it might have been already NULLified at the driver unbinding. Although the codec removal should have been done properly by the previous fixes, just for more safety, let's add a NULL check before dereferencing and calling the driver's unsol_event callback. Fixes: e7255c00b10e ("ALSA: hda: Skip event processing for unregistered codecs") Link: https://patch.msgid.link/20261009133341.440917-6-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions