aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-subdev.c
diff options
context:
space:
mode:
authorDafna Hirschfeld <[email protected]>2020-03-31 18:06:30 +0000
committerMauro Carvalho Chehab <[email protected]>2020-05-18 09:11:44 +0000
commitb2bbf1aac61186ef904fd28079e847d3feadb89e (patch)
treedd89f2a4c4240d2f3eef4e471923d726ab6c3499 /drivers/media/v4l2-core/v4l2-subdev.c
parentmedia: i2c: imx219: Implement get_selection (diff)
downloadkernel-b2bbf1aac61186ef904fd28079e847d3feadb89e.tar.gz
kernel-b2bbf1aac61186ef904fd28079e847d3feadb89e.zip
media: i2c: imx219: Fix a bug in imx219_enum_frame_size
When enumerating the frame sizes, the value sent to imx219_get_format_code should be fse->code (the code from the ioctl) and not imx219->fmt.code which is the code set currently in the driver. Fixes: 22da1d56e982 ("media: i2c: imx219: Add support for RAW8 bit bayer format") Signed-off-by: Dafna Hirschfeld <[email protected]> Reviewed-by: Helen Koike <[email protected]> Reviewed-by: Dave Stevenson <[email protected]> Reviewed-by: Lad Prabhakar <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions