diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-02-16 00:11:13 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-16 11:22:44 +0300 |
commit | b1ef30e5ed17a417fc78eaff12da28f9a1c2efcc (patch) | |
tree | af4256a10783e0c7c6658268e6412b9f0d8fe75d /sound/pci/emu10k1/emu10k1_callback.c | |
parent | 2d42c033aec9f8e7e175c551ae62ea3f4dc200b9 (diff) | |
download | linux-b1ef30e5ed17a417fc78eaff12da28f9a1c2efcc.tar.xz |
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/emu10k1/emu10k1_callback.c')
0 files changed, 0 insertions, 0 deletions