acrn-kernel/drivers/staging
Hans Verkuil 6970888d38 media: staging: media: imx: initialize hs_settle to avoid warning
Initialize hs_settle to 0 to avoid this compiler warning:

imx8mq-mipi-csi2.c: In function 'imx8mq_mipi_csi_start_stream.part.0':
imx8mq-mipi-csi2.c:91:55: warning: 'hs_settle' may be used uninitialized [-Wmaybe-uninitialized]
   91 | #define GPR_CSI2_1_S_PRG_RXHS_SETTLE(x) (((x) & 0x3f) << 2)
      |                                                       ^~
imx8mq-mipi-csi2.c:357:13: note: 'hs_settle' was declared here
  357 |         u32 hs_settle;
      |             ^~~~~~~~~

It's a false positive, but it is too complicated for the compiler to detect that.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-06-02 18:45:52 +01:00
..
axis-fifo
board
emxx_udc
fbtft
fieldbus Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
gdm724x
greybus Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
iio Char/Misc drivers for 6.4-rc1 2023-04-27 12:07:50 -07:00
ks7010
media media: staging: media: imx: initialize hs_settle to avoid warning 2023-06-02 18:45:52 +01:00
most
nvec
octeon
olpc_dcon
pi433
qlge
rtl8192e
rtl8192u
rtl8712
rtl8723bs
rts5208 Staging driver changes for 6.4-rc1 2023-04-27 11:49:35 -07:00
sm750fb
vc04_services modules-6.4-rc1 2023-04-27 16:36:55 -07:00
vme_user Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
vt6655
vt6656
wlan-ng
Kconfig
Makefile