mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: spi: rk1608: skip write aec ioctl before stream on
Change-Id: I421369296f766446ddbeb87f3d43d3bcb5a0087d Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
This commit is contained in:
@@ -1015,6 +1015,11 @@ static long rk1608_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
|
||||
pdata->hdrae_exp.short_gain_reg == hdrae_exp->short_gain_reg)
|
||||
break;
|
||||
|
||||
if (!pdata->sensor_cnt) {
|
||||
dev_info(pdata->dev, "set Aec before stream on");
|
||||
break;
|
||||
}
|
||||
|
||||
pdata->hdrae_exp = *hdrae_exp;
|
||||
|
||||
/* hdr exposure start */
|
||||
|
||||
Reference in New Issue
Block a user