Re: [PATCH] mfd: arizona: Move chip reset to before register patch
From: Mark Brown
Date: Tue Nov 13 2012 - 00:56:28 EST
On Mon, Nov 12, 2012 at 05:56:48PM +0000, Charles Keepax wrote:
> In the absence of a physical reset line the chip is reset by writing the
> first register, this was done after the register patch was applied which
> negates the settings applied in the register patch.
>
> This patch moves the reset to take place before the register patch is
> applied.
No, we should never write to the chip until we have successfully
identified it. Do a sync or similar instead (we should be triggering
this very soon afterwards via runtime PM anyway).
Attachment:
signature.asc
Description: Digital signature