Commit 32325016 authored by Stuart Henderson's avatar Stuart Henderson Committed by Lee Jones
Browse files

mfd: madera: Fix potential uninitialised use of variable



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

Signed-off-by: default avatarStuart Henderson <stuarth@opensource.cirrus.com>
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 6987fd42
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment