Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751326AbbEHFD7 (ORCPT ); Fri, 8 May 2015 01:03:59 -0400 Received: from mail-bl2on0102.outbound.protection.outlook.com ([65.55.169.102]:59648 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750886AbbEHFD6 convert rfc822-to-8bit (ORCPT ); Fri, 8 May 2015 01:03:58 -0400 From: Ramneek Mehresh To: Alan Stern CC: "linux-kernel@vger.kernel.org" , "balbi@ti.com" , "linux-usb@vger.kernel.org" , "gregkh@linuxfoundation.org" Subject: RE: [PATCH 02/10] drivers:host:fsl: Use ehci_overrides structure for EHCI drv Thread-Topic: [PATCH 02/10] drivers:host:fsl: Use ehci_overrides structure for EHCI drv Thread-Index: AQHQiMJfIXxmm4goP0yRszanEkdHF51wl5SAgADuGhA= Date: Fri, 8 May 2015 05:03:55 +0000 Message-ID: References: <1431002836-9711-2-git-send-email-ramneek.mehresh@freescale.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: rowland.harvard.edu; dkim=none (message not signed) header.d=none; x-originating-ip: [192.88.169.1] x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1583; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:SN1PR0301MB1583;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1583; x-forefront-prvs: 0570F1F193 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(377454003)(51704005)(13464003)(24454002)(66066001)(99286002)(86362001)(92566002)(87936001)(2656002)(2171001)(33656002)(122556002)(106116001)(54356999)(40100003)(5001960100002)(189998001)(2900100001)(50986999)(46102003)(19580405001)(76176999)(76576001)(62966003)(2950100001)(102836002)(19580395003)(77156002);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR0301MB1583;H:SN1PR0301MB1583.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2015 05:03:55.0864 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1583 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1694 Lines: 42 > -----Original Message----- > From: Alan Stern [mailto:stern@rowland.harvard.edu] > Sent: Thursday, May 07, 2015 8:16 PM > To: Mehresh Ramneek-B31383 > Cc: linux-kernel@vger.kernel.org; balbi@ti.com; linux-usb@vger.kernel.org; > gregkh@linuxfoundation.org > Subject: Re: [PATCH 02/10] drivers:host:fsl: Use ehci_overrides structure for > EHCI drv > > On Thu, 7 May 2015, Ramneek Mehresh wrote: > > > Make use of ehci_driver_overrides structure for ehci-fsl driver > > > > Signed-off-by: Ramneek Mehresh > > You need to change a lot more than this. See commit a76dd463c58e (USB: > EHCI: make ehci-orion a separate driver) as an example of what is needed. In > the end, ehci-fsl.ko should be a new driver module, not compiled into ehci- > hcd.ko. > I can definitely make this change, but this patch set is about OTG functionality fix for all FSL QorIQ socs. Changes you are asking are for FSL Host driver. For that I can float separate patch/patch set. Hence, I would request you to please accept the Patch series in conext of OTG functionality fix > > + ehci_init_driver(driver, &ehci_fsl_overrides); > > + driver->product_desc = "Freescale On-Chip EHCI Host Controller"; > > + driver->start = ehci_run; > > + driver->start_port_reset = ehci_start_port_reset; > > Why do you want to override driver->start? The default value for this field is > already set to ehci_run. > Will correct this > Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/