diff options
author | Dafna Hirschfeld <dafna.hirschfeld@collabora.com> | 2020-03-31 20:06:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-18 11:11:44 +0200 |
commit | b2bbf1aac61186ef904fd28079e847d3feadb89e (patch) | |
tree | dd89f2a4c4240d2f3eef4e471923d726ab6c3499 /drivers/media/mc | |
parent | e6d4ef7d58aa7e64aa735e1b3c7b670e4fb34d6f (diff) | |
download | linux-b2bbf1aac61186ef904fd28079e847d3feadb89e.tar.bz2 |
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 <dafna.hirschfeld@collabora.com>
Reviewed-by: Helen Koike <helen.koike@collabora.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/mc')
0 files changed, 0 insertions, 0 deletions