Re: [PATCH v2 2/2] iio: gyro: bmg160: Add rudimentary regulator support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Dec 2020 09:57:06 +0100
Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:

> On Fri, Dec 11, 2020 at 7:39 PM Stephan Gerhold <stephan@xxxxxxxxxxx> wrote:
> 
> > BMG160 needs VDD and VDDIO regulators that might need to be explicitly
> > enabled. Add some rudimentary support to obtain and enable these
> > regulators during probe() and disable them using a devm action.
> >
> > Signed-off-by: Stephan Gerhold <stephan@xxxxxxxxxxx>
> > ---
> > Changes in v2:
> >   - Do regulator_bulk_enable() immediately after devm_regulator_bulk_get()
> >   - Simplify error handling using devm_add_action_or_reset()  
> 
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Series applied,

Thanks,

Jonathan

> 
> Yours,
> Linus Walleij




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux