video: tegra: dc: hdcp: handle the case of DEVICE_COUNT = 0 properly
authorPeter Zu <pzu@nvidia.com>
Thu, 7 Apr 2011 04:42:33 +0000 (21:42 -0700)
committerErik Gilling <konkers@android.com>
Tue, 19 Apr 2011 20:05:57 +0000 (13:05 -0700)
commit780073d7c4c001f78a5b3cd2d464ddd2f15c44e0
treeb48bcb003f490b648ac42128703bab23eacb5b81
parent9da0efab32e17025d50abc2913fa878358303b57
video: tegra: dc: hdcp: handle the case of DEVICE_COUNT = 0 properly

When HDCP repeater has no device attached, DEVICE_COUNT reports back as 0.
HDCP driver should handle this case as a good case and continue downstream
authentication, other than fail it.

Change-Id: Ied2e46428c0247f14fbd96016cd4fdbf358f6587
drivers/video/tegra/dc/nvhdcp.c