]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: arizona: Fix typo using hard-coded register
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 6 Jun 2017 08:46:33 +0000 (09:46 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 6 Jun 2017 09:17:42 +0000 (10:17 +0100)
commit077e93bdd5f61b8dbfb96fac6e3673938044cd94
tree4f8953e484f211d20b86447a9d9d84801ab4e3ef
parent81e0e7134ab085ac5d0890177bfed38a0f2be4f8
mfd: arizona: Fix typo using hard-coded register

A hardcoded register is accidentally used instead of the register
address passed into the function. Correct this and use the appropriate
variable. This would cause minor issues on wm5102, but all other
devices using this driver would have been unaffected.

Fixes: commit d89a595078ee ("mfd: arizona: Refactor arizona_poll_reg")
Reported-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c