summaryrefslogtreecommitdiff
path: root/sound/usb/quirks.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-04-13 07:45:53 (GMT)
committerTakashi Iwai <tiwai@suse.de>2016-04-13 07:53:46 (GMT)
commitc44da62b55bb453052869ab095bcda7aa0bd6bba (patch)
treebd5c759f68241d3d330abbec0b9f5153f387dd85 /sound/usb/quirks.c
parent023d8218ec0dfc30e11d4ec54f640e8f127d1fbe (diff)
downloadlinux-c44da62b55bb453052869ab095bcda7aa0bd6bba.tar.xz
ALSA: hda - Fix inconsistent monitor_present state until repoll
While the previous commit fixed the missing monitor_present flag update, it may be still in an inconsistent state while the driver repolls: the flag itself is updated, but the eld_valid flag and the contents don't follow until the repoll finishes (and may be repeated for a few times). The basic problem is that pin_eld->monitor_present is updated in the caller side. This should have been updated only in update_eld(). So, the proper fix is to avoid accessing pin_eld but only spec->temp_eld. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks.c')
0 files changed, 0 insertions, 0 deletions