video: early exit from update_cdma
authorPranav Chaturvedi <pchaturvedi@nvidia.com>
Mon, 16 Apr 2012 03:39:44 +0000 (08:39 +0530)
committerVarun Colbert <vcolbert@nvidia.com>
Fri, 4 May 2012 20:39:00 +0000 (13:39 -0700)
commit91eb75c90ef8acd92573ca5145fee67f1781719f
tree49fae22af143ddc07f0e11428140ae8ff41b6e30
parent8d709aefa05d224373c0337f1aa35c39fd50431c
video: early exit from update_cdma

when update_cdma_locked() is invoked, CDMA is not running
implies that the queue is cleared and we can return immediately.

Bug 960487

Change-Id: I599027906dc405f4490590443d4f4d5a3202b5b0
Reviewed-on: http://git-master/r/96650
(cherry picked from commit f297b4812d15540f4b14c87178662a7ca6575ce9)
Reviewed-on: http://git-master/r/99994
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
drivers/video/tegra/host/nvhost_cdma.c