media: rockchip: isp1: fix raw patch wrong RG10 format

Change-Id: I6037a34e97c6a109f01fe7610c87438c715e0af6
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
Cai YiWei
2019-05-31 18:05:37 +08:00
committed by Tao Huang
parent dfc9b75b09
commit c68b8a385c

View File

@@ -491,7 +491,7 @@ static const struct capture_fmt raw_fmts[] = {
.bpp = { 8 },
.mplanes = 1,
}, {
.fourcc = V4L2_PIX_FMT_SRGGB8,
.fourcc = V4L2_PIX_FMT_SRGGB10,
.fmt_type = FMT_BAYER,
.bpp = { 10 },
.mplanes = 1,
@@ -645,7 +645,7 @@ static struct stream_config rkisp1_sp_stream_config = {
static struct stream_config rkisp1_raw_stream_config = {
.fmts = raw_fmts,
.fmt_size = ARRAY_SIZE(mp_fmts),
.fmt_size = ARRAY_SIZE(raw_fmts),
};
static const