video: tegra: fix unplug/suspend timeout in nvhdcp
authorErik Gilling <konkers@android.com>
Wed, 13 Apr 2011 15:03:41 +0000 (08:03 -0700)
committerErik Gilling <konkers@android.com>
Wed, 13 Apr 2011 15:07:36 +0000 (08:07 -0700)
commit734caf378bd667c73861f76c212dd8b74f729bb0
treece30076e5348347715b0c8aed4fee391edc2d5a9
parent77a9f2d7ce63dd428ab66a1992333596d9c582e5
video: tegra: fix unplug/suspend timeout in nvhdcp

If HDCP was turned off (either by unplug or suspend) the work funciton
would wait the full timeout 5 * l.75s before exiting.  This
causes suspend to timeout and crash.

Change-Id: I8eb185452ad09e34f4573874e9766c0e1cec15de
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/video/tegra/dc/nvhdcp.c