diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-02-15 22:11:13 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-16 09:22:44 +0100 |
commit | b1ef30e5ed17a417fc78eaff12da28f9a1c2efcc (patch) | |
tree | af4256a10783e0c7c6658268e6412b9f0d8fe75d /sound/pci | |
parent | ALSA: x86: Minor code rearrangement (diff) | |
download | linux-b1ef30e5ed17a417fc78eaff12da28f9a1c2efcc.tar.xz linux-b1ef30e5ed17a417fc78eaff12da28f9a1c2efcc.zip |
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>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions