Re: [PATCH 3/3] usb: typec: tcpm: Clear the fault status register

From: Angus Ainslie
Date: Tue May 07 2019 - 07:43:25 EST


On 2019-05-06 09:27, Guenter Roeck wrote:
On Mon, May 06, 2019 at 12:11:41PM -0300, Fabio Estevam wrote:
Hi Angus,

On Mon, May 6, 2019 at 11:10 AM Angus Ainslie (Purism) <angus@xxxxxxxx> wrote:
>
> If the fault status register doesn't get cleared then
> the ptn5110 interrupt gets stuck on. As the fault register gets
> set everytime the ptn5110 powers on the interrupt is always stuck.
>
> Signed-off-by: Angus Ainslie (Purism) <angus@xxxxxxxx>

Since this is a bug fix, I would suggest adding a Fixes tag and Cc
stable if appropriate.

I would also put this patch as the first one in the series, so that it
can be easily applied to older stable trees.

Unfortunately there is an added tcpm_log() ... and I am opposed to exporting
that.


Ok I'll fix them both up for v2.

Guenter