diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-08-31 16:57:46 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-14 23:31:55 +0200 |
commit | bb2d01127f5d8e5034daa60a08e68f719ad71ec2 (patch) | |
tree | d446fa7e7b54ac24fd0c3bd1583d0cf937dbfdd8 /tools/net/ynl/generated/devlink-user.c | |
parent | 5cb218ffc54f1865edbe0c2a5ac4e906753817fb (diff) |
media: i2c: imx219: Fix crop rectangle setting when changing format
When moving the imx219 driver to the subdev active state, commit
e8a5b1df000e ("media: i2c: imx219: Use subdev active state") used the
pad crop rectangle stored in the subdev state to report the crop
rectangle of the active mode. That crop rectangle was however not set in
the state when setting the format, which resulted in reporting an
incorrect crop rectangle to userspace. Fix it.
Fixes: e8a5b1df000e ("media: i2c: imx219: Use subdev active state")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions