mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
media: rockchip: vicap clean data_type if get fail
Change-Id: I23e2877e7d8c3291f1a49825885c703f6d0639b3 Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
This commit is contained in:
@@ -1013,6 +1013,8 @@ cif_input_fmt *rkcif_get_input_fmt(struct rkcif_device *dev, struct v4l2_rect *r
|
||||
csi_info->vc = pad_id;
|
||||
if (ch_info.data_type > 0)
|
||||
csi_info->data_type = ch_info.data_type;
|
||||
else
|
||||
csi_info->data_type = 0;
|
||||
if (ch_info.data_bit > 0)
|
||||
csi_info->data_bit = ch_info.data_bit;
|
||||
if (ch_info.field == 0)
|
||||
|
||||
Reference in New Issue
Block a user