diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2014-10-19 19:25:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 09:40:17 -0700 |
commit | 7c46686b191aee69b530928ce666e7b493ae8e76 (patch) | |
tree | 20e4cff7273c12e4ebd2af02604ee70406ead4df /Documentation/rpmsg.txt | |
parent | a8c593342591af20b6a63d7ce641d93ce1e4787a (diff) |
ALSA: hda - hdmi: Fix missing ELD change event on plug/unplug
commit 6acce400d9daf1353fbf497302670c90a3205e1d upstream.
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/rpmsg.txt')
0 files changed, 0 insertions, 0 deletions