aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorCezary Rojewski <[email protected]>2025-05-30 14:13:09 +0000
committerTakashi Iwai <[email protected]>2025-06-02 14:48:55 +0000
commit3f100f524e75586537e337b34d18c8d604b398e7 (patch)
tree39a7f03da4d3947a8e7d25b3008e83b7d915604d /scripts/lib/kdoc/kdoc_parser.py
parentALSA: hda: Add new pci id for AMD GPU display HD audio controller (diff)
downloadkernel-3f100f524e75586537e337b34d18c8d604b398e7.tar.gz
kernel-3f100f524e75586537e337b34d18c8d604b398e7.zip
ALSA: hda: Ignore unsol events for cards being shut down
For the classic snd_hda_intel driver, codec->card and bus->card point to the exact same thing. When snd_card_diconnect() fires, bus->shutdown is set thanks to azx_dev_disconnect(). card->shutdown is already set when that happens but both provide basically the same functionality. For the DSP snd_soc_avs driver where multiple codecs are located on multiple cards, bus->shutdown 'shortcut' is not sufficient. One codec card may be unregistered while other codecs are still operational. Proper check in form of card->shutdown must be used to verify whether the codec's card is being shut down. Reviewed-by: Amadeusz Sławiński <[email protected]> Signed-off-by: Cezary Rojewski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions