camera:modify ov5640_for_td8801.c
authorhhb <hhb@rock-chips.com>
Mon, 9 Jul 2012 01:55:52 +0000 (09:55 +0800)
committerhhb <hhb@rock-chips.com>
Mon, 9 Jul 2012 01:55:52 +0000 (09:55 +0800)
drivers/media/video/ov5640_for_td8801.c

index d878085c56e901214d4504cb1e3a6a39795e2c54..112e3f9f80b3dc16ca99918570f2c6f283877e99 100644 (file)
@@ -3939,6 +3939,9 @@ static long sensor_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
        {
                case RK29_CAM_SUBDEV_DEACTIVATE:
                {
+                       #if CONFIG_SENSOR_Flash  //hhb
+                       sensor_ioctrl(icd, Sensor_Flash, Flash_Off);
+                       #endif
                        sensor_deactivate(client);
                        break;
                }