Commit 3a9619be authored by Dan Carpenter's avatar Dan Carpenter Committed by Hans Verkuil
Browse files

media: i2c: imx334: uninitialized variable in imx334_update_exp_gain()



The "ret" variable is not initialized on the success path.  Set it to
zero.

Fixes: 7b19b0fc ("media: i2c: imx334: Convert to CCI register access helpers")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
parent a21e0a89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment