Re: Tegra boots failing due to as3722 I/O errors

From: Mark Brown
Date: Wed Mar 30 2016 - 12:47:07 EST


On Wed, Mar 30, 2016 at 02:15:16PM +0100, Jon Hunter wrote:

> On second thoughts, is this the correct way to fix this? I see that
> there are some operators defined for get/set_bypass for a regulator and
> these are not specified for LDO6 either. However, even if they were I
> don't believe this will fix the problem alone.

If this is trying to implement bypass support it should use bypass
support (and the other things doing this fixed to do so).

> The failure is caused by _regulator_get_voltage() returning an error.
> This function does not check if the regulator is bypassed, but I am
> wondering if it should and then return the bypass voltage?

Yes, like we already do for switches. I'll send an untested patch
shortly.

Attachment: signature.asc
Description: PGP signature