Re: [PATCH] usb: musb: Fix external abort in musb_remove
From: Bin Liu
Date: Fri Mar 09 2018 - 08:40:03 EST
On Thu, Mar 08, 2018 at 11:17:48PM +0100, Merlijn Wajer wrote:
> Hi,
>
> On 08/03/18 22:15, Bin Liu wrote:
>
> > please add patch version numbers in the subject when necessary. This
> > helps cross-referencing.
>
> Will do. I naively assumed that the first patch would implicitly be
> number 1. Will send out v2 now.
Sorry, my bad, I forgot the first patch was a RFC. You are doing it
right.
>
> >>
> >> + musb_writeb(musb->mregs, MUSB_DEVCTL, 0);
> >
> > Does it solve the issue if not moving this line? I'd like to have
> > minimum change if possible.
>
> Yes, it does. The only reason I moved musb_writeb is because I
> understood you wanted me to move both (per previous message: "This can
> be move down to out side of holding the spinlock").
Typically the comments would only applies to the modified code.
Otherwise the comments have to be explicit to avoid confusion.
No worries here anyway, confusion does happen sometimes ;)
Regards,
-Bin.