media: ov5648: Don't pack controls struct
Don't pack the driver specific struct containing control pointers. This
lead to potential alignment issues when working with the pointers.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: e43ccb0a04
("media: i2c: Add support for the OV5648 image sensor")
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
24bb30c8c8
commit
edd4fbff53
@ -639,7 +639,7 @@ struct ov5648_ctrls {
|
||||
struct v4l2_ctrl *pixel_rate;
|
||||
|
||||
struct v4l2_ctrl_handler handler;
|
||||
} __packed;
|
||||
};
|
||||
|
||||
struct ov5648_sensor {
|
||||
struct device *dev;
|
||||
|
Loading…
Reference in New Issue
Block a user