video: tegra: reset hdcp failure count on hotplug

Change-Id: Iba5041f8428b13791004c96e6e8c2ed4dbcc37b8
Signed-off-by: Erik Gilling <konkers@android.com>
This commit is contained in:
Erik Gilling 2011-03-31 16:26:59 -07:00
parent db8872556e
commit 0aa722f2fb

View File

@ -1012,6 +1012,7 @@ void tegra_nvhdcp_set_plug(struct tegra_nvhdcp *nvhdcp, bool hpd)
nvhdcp_set_plugged(nvhdcp, hpd);
if (hpd) {
nvhdcp->fail_count = 0;
queue_work(nvhdcp->downstream_wq, &nvhdcp->work);
} else {
flush_workqueue(nvhdcp->downstream_wq);