ALSA: hda: Throttle HDMI not present log
authorSumit Bhattacharya <sumitb@nvidia.com>
Fri, 20 Mar 2015 07:11:49 +0000 (12:11 +0530)
committerDara Ramesh <dramesh@nvidia.com>
Mon, 15 Jun 2015 05:58:33 +0000 (22:58 -0700)
commit570d0c6b28093e932b7ea67a5991024e05070e53
tree7e73e8596e9472c3e9cb3c2900fbd724198237d8
parentc01eb62c694752ec90c3bd4b90f79114aa38dfbe
ALSA: hda: Throttle HDMI not present log

If HDMI presence check returns error while trying to open pcm stream
throttle error logs after 5 retries. Otherwise if user space gets false
HDMI connection notification this prints continuously spams kernel
log.

Bug 1622200

Change-Id: Ice52f97b2098bf6f72b26b115675563f8620ae12
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/720191
(cherry picked from commit 3934ef0355a0a19b6302d7d3312bad251e0e27a7)
Reviewed-on: http://git-master/r/751307
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
sound/pci/hda/hda_codec.h
sound/pci/hda/patch_hdmi.c