Add "regulator: arizona-ldo1: Use correct device to get enable GPIO" to 4.18 stable tree

From: Matthias Reichl
Date: Mon Aug 20 2018 - 06:23:35 EST


It seems the arizona-ldo1 ldoena fix hasn't made it into 4.18. It
was added to 4.19/mainline, though:

commit a9191579ba1086d91842199263e6fe6bb5eec1ba
Author: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 19 16:10:00 2018 +0100

regulator: arizona-ldo1: Use correct device to get enable GPIO

Could you please add this commit to the 4.18 stable queue?

Without this fix LDO control via GPIO is broken and Arizona devices
can't be used as no power is applied.

I tested locally with a WM5102 (Cirrus Logic Audio Card on RPi),
with stock 4.18 tree device detection fails:

[ 6.075981] arizona spi0.1: Unknown device ID: 0

with this commit added to 4.18 the WM5102 is detected fine:

[ 6.060887] arizona spi0.1: WM5102 revision C

so long & thanks,

Hias