ALSA: Avoid endless sleep after disconnect

When disconnect callback is called, each component should wake up
sleepers and check card->shutdown flag for avoiding the endless sleep
blocking the proper resource release.

Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
6 files changed