Files
linux/drivers/mfd
Kangjie Lu d8189ee86c mfd: mc13xxx: Fix a missing check of a register-read failure
[ Upstream commit 9e28989d41 ]

When mc13xxx_reg_read() fails, "old_adc0" is uninitialized and will
contain random value. Further execution uses "old_adc0" even when
mc13xxx_reg_read() fails.
The fix checks the return value of mc13xxx_reg_read(), and exits
the execution when it fails.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-03-23 08:44:16 +01:00
..
2015-08-11 15:09:01 +01:00
2015-03-26 14:20:18 +00:00
2015-10-30 17:19:51 +00:00
2015-10-30 17:19:51 +00:00
2015-10-26 14:48:57 +00:00
2015-08-11 15:09:01 +01:00
2018-01-02 20:33:20 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00