diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-11-02 16:38:21 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-11-15 08:01:14 +0100 |
commit | e8c44abeab76cc3b1d79242612b9a2d82ab11b6b (patch) | |
tree | 6621a43cee03b6ce0e36da7dff8961416b7fed61 /usr | |
parent | ALSA: core: Fix kernel-doc warnings (diff) | |
download | linux-e8c44abeab76cc3b1d79242612b9a2d82ab11b6b.tar.xz linux-e8c44abeab76cc3b1d79242612b9a2d82ab11b6b.zip |
ALSA: emu10k1: Fix emu1010 dock attach check
The emu1010_firmware_thread() checks the previous dock status, but a
wrong register is recorded as the last status when the dock is plugged
in. Usually this isn't a big issue since this value gets overwritten
by the next loop after one second. But when a dock is unplugged
immediately after plugging, it means essentially missing undock
handling.
This patch addresses it by remembering the correct register value.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions