Skip to content

Commit 9f71066

Browse files
6by9popcornmix
authored andcommitted
media: bcm2835-unicam: Add support for 12bit mono packed format
Now that V4L2_PIX_FMT_Y12P is defined, allow passing raw 12bit mono packed data through the peripheral. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
1 parent 85a83aa commit 9f71066

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/media/platform/bcm2835/bcm2835-unicam.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ static const struct unicam_fmt formats[] = {
336336
.depth = 10,
337337
.csi_dt = 0x2b,
338338
}, {
339-
/* NB There is no packed V4L2 fourcc for this format. */
339+
.fourcc = V4L2_PIX_FMT_Y12P,
340340
.repacked_fourcc = V4L2_PIX_FMT_Y12,
341341
.code = MEDIA_BUS_FMT_Y12_1X12,
342342
.depth = 12,

0 commit comments

Comments
 (0)