Skip to content

Commit ec7a9ef

Browse files
Cai YiWeiZhengShunQian
authored andcommitted
media: rk-isp10: fix fmt select
if enumerate all the sensor fmt, don't find matching format then should be forced to using the last one. Change-Id: I15949ed66f583019a522ee56844e57813c6f6e49 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
1 parent fca2fee commit ec7a9ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/media/platform/rk-isp10/cif_isp10.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ static int cif_isp10_img_src_select_strm_fmt(
12151215
matching_format_found = true;
12161216
}
12171217
// FIXME::GST set fomat(any@32768x32768) failed, force pass
1218-
} else {
1218+
} else if (!matching_format_found) {
12191219
request_strm_fmt.frm_fmt.width =
12201220
strm_fmt_desc.min_frmsize.width;
12211221
request_strm_fmt.frm_fmt.height =

0 commit comments

Comments
 (0)