summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2014-10-19 19:25:19 +0300
committerTakashi Iwai <tiwai@suse.de>2014-10-20 07:58:34 +0200
commit6acce400d9daf1353fbf497302670c90a3205e1d (patch)
tree6b9f2a74e4e941933681cd282adae29e76a1f69b /sound/usb
parentf0b127fbfdc8756eba7437ab668f3169280bd358 (diff)
ALSA: hda - hdmi: Fix missing ELD change event on plug/unplug
The ELD ALSA control change event is sent by hdmi_present_sense() when eld_changed is true. Currently, it is only true when the ELD buffer contents have been modified. However, the user-visible ELD controls also change to a zero-length value and back when eld_valid is unset/set, and no event is currently sent in such cases (such as when unplugging or replugging a sink). Fix the code to always set eld_changed if eld_valid value is changed, and therefore to always send the change event when the user-visible value changes. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Cc: David Henningsson <david.henningsson@canonical.com> Cc: <stable@vger.kernel.org> # 3.9+ Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions