summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_generic.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-04-13 09:45:53 +0200
committerTakashi Iwai <tiwai@suse.de>2016-04-13 09:53:46 +0200
commitc44da62b55bb453052869ab095bcda7aa0bd6bba (patch)
treebd5c759f68241d3d330abbec0b9f5153f387dd85 /sound/pci/hda/hda_generic.c
parent023d8218ec0dfc30e11d4ec54f640e8f127d1fbe (diff)
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/pci/hda/hda_generic.c')
0 files changed, 0 insertions, 0 deletions