Commit edd4fbff authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab
Browse files

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: default avatarkernel test robot <lkp@intel.com>
Fixes: e43ccb0a ("media: i2c: Add support for the OV5648 image sensor")
Reviewed-by: default avatarPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 24bb30c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -639,7 +639,7 @@ struct ov5648_ctrls {
	struct v4l2_ctrl *pixel_rate;

	struct v4l2_ctrl_handler handler;
} __packed;
};

struct ov5648_sensor {
	struct device *dev;