commit | b1ef30e5ed17a417fc78eaff12da28f9a1c2efcc | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Feb 15 22:11:13 2017 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Feb 16 09:22:44 2017 +0100 |
tree | af4256a10783e0c7c6658268e6412b9f0d8fe75d | |
parent | 2d42c033aec9f8e7e175c551ae62ea3f4dc200b9 [diff] |
ALSA: x86: Don't bail out from PCM ops when disconnected Currently the driver returns -ENODEV when the monitor is disconnected. But PA alsa module doesn't like this and it starts playing Juliet, kills itself as if it were a fatal tragedy. Since we protect the whole read/write at disconnection, just allow the PCM accesses even during disconnection. Signed-off-by: Takashi Iwai <tiwai@suse.de>