aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-07-17 14:30:23 +0200
committerTakashi Iwai <tiwai@suse.de>2019-07-22 09:13:56 +0200
commit551626ec0ad28dc43cae3094c35be7088cc625ab (patch)
treef71b904072d30b12cf98f3d28f21202909276791 /tools/perf/scripts/python
parentLinus 5.3-rc1 (diff)
downloadlinux-551626ec0ad28dc43cae3094c35be7088cc625ab.tar.gz
linux-551626ec0ad28dc43cae3094c35be7088cc625ab.zip
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 <kai.vehmanen@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions