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

From: Guenter Roeck
Date: Mon May 06 2019 - 11:28:23 EST


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.

Guenter