]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit323250166d4ebbb927a68a6387887f6f59d5da4d
tree6b8c01ebba3ee10d395d905330a00e90f83902a0
parent6987fd42239ad43937166dace2ed8fb260b14d25
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