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:03:41 +0000 (08:03 -0700)
commitfee6da91b417f081e68a11c1736358e3ace83fd1
tree3636a01fb14e856edcf02a79e98d0cbf0a415d19
parentb99e516bb2bc3d7d72b74039b342f7d2254b4143
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