video: tegra: mipi_cal: check powergate status
authorpdabade <pdabade@nvidia.com>
Fri, 22 Nov 2013 10:03:32 +0000 (15:03 +0530)
committerJon Mayo <jmayo@nvidia.com>
Fri, 22 Nov 2013 19:01:18 +0000 (11:01 -0800)
commitd0854c1778e9cce8e44ce04cf0e9260bc25cf937
tree933bd5ac200783fe15ffd651d947464eed7d50d2
parent0303f9785fa63fb43379ad4f6584faebc4b3edd6
video: tegra: mipi_cal: check powergate status

Checking powergate status before dumping registers.
If power is gated, return quitely.

bug 1403057

Change-Id: I5507667cb33bdb79fa666a808438f6f321d5beb0
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/334003
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
drivers/video/tegra/dc/mipi_cal.c