mt9v113: Fix State variable handling
authorSergio Aguirre <saaguirre@ti.com>
Thu, 22 Jul 2010 18:29:16 +0000 (13:29 -0500)
committerJason Kridner <jdk@ti.com>
Wed, 7 Sep 2011 23:15:31 +0000 (19:15 -0400)
commit9fa918e68668c0becf01a265b38b9baf55328073
treec299af309f83ba39f8ca9ae495a0ef8262c599ee
parent4e67da32cc3142b12a330f605056147cc062ca5f
mt9v113: Fix State variable handling

State variable was misused, and was running detection all the
time the sensor was powered back on.

Reason? power off code was putting it to "not detected" always.

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
drivers/media/video/mt9v113.c