+4
−1
Loading
Inside function rt274_i2c_probe(), if regmap_read() function returns -EINVAL, then local variable "val" leaves uninitialized but used in if statement. This is potentially unsafe. Signed-off-by:Yizhuo <yzhai003@ucr.edu> Signed-off-by:
Mark Brown <broonie@kernel.org>