mt9v113: Fix State variable handling
authorSergio Aguirre <saaguirre@ti.com>
Thu, 22 Jul 2010 18:29:16 +0000 (13:29 -0500)
committerKoen Kooi <koen@dominion.thruhere.net>
Wed, 19 Jan 2011 15:12:27 +0000 (16:12 +0100)
commite3d5c3eb67e2ef91e08b0fcd26778b8505268a8a
tree92b167cc02402ae988ae82c6dd1e29d86b9d368a
parent838aed68f8efa16e9915795ddb968157d40fca6b
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