mt9v113: Fix State variable handling beagleboard-merge-20100722
authorSergio Aguirre <saaguirre@ti.com>
Thu, 22 Jul 2010 18:29:16 +0000 (13:29 -0500)
committerKoen Kooi <koen@dominion.thruhere.net>
Fri, 23 Jul 2010 06:20:27 +0000 (08:20 +0200)
commitff2a80a1bef6f7215221812eab381f4303fffce8
tree996de528876c60697228f150becb3ed1c35a05fb
parentb5412a27380f0c8d571181ba2ab719574fce796a
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