Re: [PATCH v11 3/3] i2c: muxes: pca954x: Add regulator support

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

 



On Fri, Apr 14, 2023 at 02:01:09PM +0200, Patrick Rudolph wrote:

> It was using the normal regulator_get() in the last revision, but
> Sergey requested to make it optional.
> Please advise me what to do here? Who is right?

As I said regulator_get_optional() is strictly for the case where the
supply may be physically absent and shouldn not be used in any other
situation.  Using the wrong variant will break error handling.

> 
> Regards,
> Patrick
> 
> On Fri, Apr 14, 2023 at 1:47 PM Mark Brown <broonie@xxxxxxxxxx> wrote:


Please don't top post, reply in line with needed context.  This allows
readers to readily follow the flow of conversation and understand what
you are talking about and also helps ensure that everything in the
discussion is being addressed.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux