[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SN1PR0301MB15832EA7544C1165A2DB47E3E0D00@SN1PR0301MB1583.namprd03.prod.outlook.com>
Date: Wed, 6 May 2015 05:30:23 +0000
From: Ramneek Mehresh <ramneek.mehresh@...escale.com>
To: Alan Stern <stern@...land.harvard.edu>
CC: Kernel development list <linux-kernel@...r.kernel.org>,
Felipe Balbi <balbi@...com>,
USB list <linux-usb@...r.kernel.org>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: RE: [PATCH 2/9][v3]usb:fsl:otg: Add support to add/remove usb host
driver
> -----Original Message-----
> From: Alan Stern [mailto:stern@...land.harvard.edu]
> Sent: Wednesday, May 06, 2015 1:00 AM
> To: Mehresh Ramneek-B31383
> Cc: Kernel development list; Felipe Balbi; USB list;
> gregkh@...uxfoundation.org
> Subject: Re: [PATCH 2/9][v3]usb:fsl:otg: Add support to add/remove usb
> host driver
>
> On Tue, 5 May 2015, Ramneek Mehresh wrote:
>
> > Add workqueue to add/remove host driver (outside interrupt context)
> > upon each id change
> >
> > Signed-off-by: Ramneek Mehresh <ramneek.mehresh@...escale.com>
> > ---
> > Changes for v3:
> > - use overrides for ehci_fsl_overrides
> > - remove struct ehci_hcd from ehci_fsl
> > - move ehci_fsl to ehci-fsl.h
>
> This patch changes at least three separate things:
>
> It adds the workqueue stuff.
>
> It replaces ehci_fsl_hc_driver with ehci_fsl_overrides.
>
> It adds new fields into the overrides structure.
>
understood
> A patch should do only one thing. It certainly shouldn't make three separate,
> major changes!
>
> Also, I'm not going to let you add new fields into the ehci_driver_overrides
> structure. If you really need to override other routines, copy the approach
> used by ehci-tegra.c.
>
Understood...but I would appreciate if you could please explain the harm in doing so
> Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists