mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 15:42:19 +02:00
video: tegra: reset hdcp failure count on hotplug
Change-Id: Iba5041f8428b13791004c96e6e8c2ed4dbcc37b8 Signed-off-by: Erik Gilling <konkers@android.com>
This commit is contained in:
parent
db8872556e
commit
0aa722f2fb
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user