media: ov5648: Don't pack controls struct
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 10 Jan 2022 16:16:51 +0000 (17:16 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 18:32:49 +0000 (19:32 +0100)
commitedd4fbff5378a8103470304809195dc8f4b1d42a
treeb34ed44b8d74b5490be63da51daed5aeb1518cdc
parent24bb30c8c894ec7213ad810b46e2a6a4c12136c1
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: e43ccb0a045f ("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>
drivers/media/i2c/ov5648.c