media: i2c: gc032a: set default stream off state

Set sensor in stream off state by default,
to avoid sending abnormal data in the early stage.

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Iaae2fd3be95a5fcac05ebaf39a68614b7b807d4a
This commit is contained in:
Wang Panzhenzhuan
2021-08-03 11:48:45 +08:00
committed by Tao Huang
parent eb37718088
commit 3491315711

View File

@@ -5,6 +5,8 @@
* Copyright (C) 2020 Rockchip Electronics Co., Ltd.
* V0.0X01.0X01 init driver.
* V0.0X01.0X02 add quick stream on/off
* V0.0X01.0X03 set sensor in stream off state by default
* to avoid sending abnormal data in the early stage.
*/
#include <linux/clk.h>
@@ -115,7 +117,7 @@ struct gc032a {
static const struct sensor_register gc032a_vga_regs[] = {
/*System*/
{0xf3, 0xff},
{0xf3, 0x00},
{0xf5, 0x06},
{0xf7, 0x01},
{0xf8, 0x03},