mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: rockchip: ispp: fix driver mode sync with ispserver
Change-Id: Id3dad2f5c4e8a326f6c8541bdf75d8b8630b603d Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -1191,8 +1191,6 @@ static int config_modules(struct rkispp_device *dev)
|
||||
{
|
||||
int ret;
|
||||
|
||||
rkispp_start_3a_run(dev);
|
||||
|
||||
v4l2_dbg(1, rkispp_debug, &dev->v4l2_dev,
|
||||
"stream module ens:0x%x\n", dev->stream_vdev.module_ens);
|
||||
dev->stream_vdev.monitor.monitoring_module = 0;
|
||||
@@ -1251,6 +1249,7 @@ static int start_ii(struct rkispp_stream *stream)
|
||||
static int config_ii(struct rkispp_stream *stream)
|
||||
{
|
||||
stream->is_cfg = true;
|
||||
rkispp_start_3a_run(stream->isppdev);
|
||||
return config_modules(stream->isppdev);
|
||||
}
|
||||
|
||||
@@ -1780,6 +1779,8 @@ static int start_isp(struct rkispp_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
rkispp_start_3a_run(dev);
|
||||
|
||||
mutex_lock(&dev->hw_dev->dev_lock);
|
||||
|
||||
mode.work_mode = dev->isp_mode;
|
||||
|
||||
Reference in New Issue
Block a user