diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-09-29 14:53:41 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-09-29 17:09:55 +0200 |
| commit | ad63c5b62843895e8c3cd7291ed07cc659df0355 (patch) | |
| tree | de0df9685d2a31f58f2986e3a0e4408fd27bb968 /tools/lib/python | |
| parent | fa2e77ac5bf81a60864e71fc72196227692d7162 (diff) | |
ALSA: core: Check shutdown flag at D0 power-state, too
The snd_power_ref_and_wait() skips the card->shutdown check when the
card is already in D0 state and immediately returns as successful, by
assuming the all-green in D0. This assumption makes the code after
this sync point behaving as if all power is up and ready, even though
actually it might have been already at the disconnected state.
Add the missing check of shutdown flag there for the more consistent
behavior.
Cc: stable@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260929125346.1478631-2-tiwai@suse.de
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
