]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: madera: Fix potential uninitialised use of variable
authorStuart Henderson <stuarth@opensource.cirrus.com>
Mon, 20 May 2019 09:06:27 +0000 (10:06 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 2 Jul 2019 11:11:31 +0000 (12:11 +0100)
commit171779bdafa549c381637ba78e902ff2135469dc
tree6b8c01ebba3ee10d395d905330a00e90f83902a0
parentd4d6611d7d34a0b361fafa4c9cca8e0244e9774c
mfd: madera: Fix potential uninitialised use of variable

regmap_read won't set val to anything if an ACKed bus fails.

Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/madera-core.c