mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
committed by
Tao Huang
parent
eb37718088
commit
3491315711
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user