extcon: arizona: Make rev A register sequences atomic
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 9 Dec 2019 11:09:08 +0000 (11:09 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 9 Dec 2019 11:18:14 +0000 (20:18 +0900)
commitb82f871a335a8b0de178ace526c847183d17f66d
treeeef27f71bc2c262dd598e41459924640c5240c27
parent9c8eaec8ebe41198b10599f2586750d8900afd97
extcon: arizona: Make rev A register sequences atomic

The special register sequences that are applied for rev A of wm5102
should be applied atomically with respect to any other register writes.
Use regmap_multi_reg_write to ensure all writes happen under the regmap
lock.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c