aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2019-07-17 14:30:23 +0200
committerTakashi Iwai <[email protected]>2019-07-22 09:13:56 +0200
commit551626ec0ad28dc43cae3094c35be7088cc625ab (patch)
treef71b904072d30b12cf98f3d28f21202909276791 /lib/test_overflow.c
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
ALSA: hda/hdmi - Don't report spurious jack state changes
The HDMI jack handling reports the state change always via snd_jack_report() whenever hdmi_present_sense() is called, even if the state itself doesn't change from the previous time. This is mostly harmless but still a bit confusing to user-space. This patch reduces such spurious jack state changes and reports only when the state really changed. Also, as a minor optimization, avoid overwriting the pin ELD data when the state is identical. Reviewed-by: Kai Vehmanen <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions