Re: [PATCH 2/2] staging: iio: ad7606: rework regulator handling

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

 



On 20/10/16 14:20, Lars-Peter Clausen wrote:
> On 10/20/2016 03:08 PM, Eva Rachel Retuya wrote:
>> Currently, this driver ignores all errors from regulator_get(). The way
>> it is now, it also breaks probe deferral (EPROBE_DEFER). The correct
>> behavior is to propagate the error to the upper layers so they can
>> handle it accordingly.
>>
>> Rework the regulator handling so that it matches the standard behavior.
>> If the specific design uses a static always-on regulator and does not
>> explicitly specify it, regulator_get() will return the dummy regulator.
>>
>> Suggested-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
>> Signed-off-by: Eva Rachel Retuya <eraretuya@xxxxxxxxx>
> 
> Acked-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
> 
> Thanks.
> 
Applied to the togreg branch of iio.git and pushed out as
testing for the autobuilders to play with it.

Thanks

Jonathan
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux