mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
staging: media: starfive: Set 16 bpp for capture_raw device
For StarFive JH7110 Camera Subsystem, capture_raw video device output
raw10 pixelformat requires 16bit of alignment.
Fixes: e080f339c8 ("media: staging: media: starfive: camss: Add capture driver")
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
b4a2952bb9
commit
a38cd27c9e
|
|
@ -20,28 +20,28 @@ static const struct stfcamss_format_info stf_wr_fmts[] = {
|
|||
.pixelformat = V4L2_PIX_FMT_SRGGB10,
|
||||
.planes = 1,
|
||||
.vsub = { 1 },
|
||||
.bpp = 10,
|
||||
.bpp = 16,
|
||||
},
|
||||
{
|
||||
.code = MEDIA_BUS_FMT_SGRBG10_1X10,
|
||||
.pixelformat = V4L2_PIX_FMT_SGRBG10,
|
||||
.planes = 1,
|
||||
.vsub = { 1 },
|
||||
.bpp = 10,
|
||||
.bpp = 16,
|
||||
},
|
||||
{
|
||||
.code = MEDIA_BUS_FMT_SGBRG10_1X10,
|
||||
.pixelformat = V4L2_PIX_FMT_SGBRG10,
|
||||
.planes = 1,
|
||||
.vsub = { 1 },
|
||||
.bpp = 10,
|
||||
.bpp = 16,
|
||||
},
|
||||
{
|
||||
.code = MEDIA_BUS_FMT_SBGGR10_1X10,
|
||||
.pixelformat = V4L2_PIX_FMT_SBGGR10,
|
||||
.planes = 1,
|
||||
.vsub = { 1 },
|
||||
.bpp = 10,
|
||||
.bpp = 16,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user