Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753186AbcD0Nd0 (ORCPT ); Wed, 27 Apr 2016 09:33:26 -0400 Received: from mail-am1on0091.outbound.protection.outlook.com ([157.56.112.91]:27154 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753092AbcD0NdY convert rfc822-to-8bit (ORCPT ); Wed, 27 Apr 2016 09:33:24 -0400 From: Jun Li To: Jun Li , Roger Quadros , "stern@rowland.harvard.edu" , "balbi@kernel.org" , "gregkh@linuxfoundation.org" , "peter.chen@freescale.com" CC: "dan.j.williams@intel.com" , "jun.li@freescale.com" , "mathias.nyman@linux.intel.com" , "tony@atomide.com" , "Joao.Pinto@synopsys.com" , "abrestic@chromium.org" , "r.baldyga@samsung.com" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-omap@vger.kernel.org" Subject: RE: [PATCH v6 08/12] usb: hcd: Adapt to OTG core Thread-Topic: [PATCH v6 08/12] usb: hcd: Adapt to OTG core Thread-Index: AQHRj0RM8SCn344KpEegRiv8CV62KJ+dugQggAAPkQCAAAMNgIAAGzpggAACBxA= Date: Wed, 27 Apr 2016 13:18:31 +0000 Message-ID: References: <1459865117-7032-1-git-send-email-rogerq@ti.com> <1459865117-7032-9-git-send-email-rogerq@ti.com> <57209BE2.7030300@ti.com> <57209E71.5070709@ti.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [123.151.195.53] x-ms-office365-filtering-correlation-id: 2c75e91f-7fd2-4fbc-c505-08d36e9e6d9c x-microsoft-exchange-diagnostics: 1;AM4PR04MB2129;5:K9H+3rVZ4Uckc9NG0eRUKZSwbV8gkVHOfwTJffja8Z2JJgUKKK0hcnGsxS0UwkZaQuaHxI9S6bg1t41Lzh5oK2/Ulf2e6l+qQeFyUf4sPwodMGZlvwUFKNcEKSrFvFTTmJmilL12ve7Sfo6R5I7/qg==;24:2StPbpKVlJXbDEJkYKstjnCfnQeHQBHO012jBx3NwBfEi78XsdsM1AxrykSr3vk5C118jR74vJmT60Ow7fg9WvIG+f3pCk+qtX9Wj+hq1H0=;7:auBORb4esBkpajk+BKgR8En6X1LBtkAS3PNJVw3QZFcZ5RR3+BusMSL2aTZDohurEkBBUG+z7pPN8OrnahdL9TuJVqy+0N0o+VWUQO1nGM2G0Q7p87V+bwM+ZutlOf6JyOnRSbjsNy56upAeKBDlE3u/9180e7wjIeXgZrcTB2Wwt/Cha0AaxmW74ZbcVT6B x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR04MB2129; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(9101521072)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026);SRVR:AM4PR04MB2129;BCL:0;PCL:0;RULEID:;SRVR:AM4PR04MB2129; x-forefront-prvs: 0925081676 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(6009001)(377454003)(13464003)(24454002)(9686002)(76176999)(50986999)(2906002)(5001770100001)(3660700001)(2171001)(2950100001)(87936001)(81166005)(189998001)(2900100001)(74316001)(3280700002)(54356999)(33656002)(2501003)(10400500002)(76576001)(15975445007)(5008740100001)(106116001)(77096005)(86362001)(122556002)(5003600100002)(92566002)(11100500001)(5004730100002)(5002640100001)(93886004)(4326007)(586003)(2201001)(66066001)(6116002)(1096002)(19580405001)(102836003)(3846002)(19580395003)(1220700001)(7059030)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM4PR04MB2129;H:AM4PR04MB2130.eurprd04.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2016 13:18:31.0219 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR04MB2129 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2311 Lines: 72 Hi, > -----Original Message----- > From: Jun Li [mailto:jun.li@nxp.com] > Sent: Wednesday, April 27, 2016 8:50 PM > To: Roger Quadros ; stern@rowland.harvard.edu; > balbi@kernel.org; gregkh@linuxfoundation.org; peter.chen@freescale.com > Cc: dan.j.williams@intel.com; jun.li@freescale.com; > mathias.nyman@linux.intel.com; tony@atomide.com; Joao.Pinto@synopsys.com; > abrestic@chromium.org; r.baldyga@samsung.com; linux-usb@vger.kernel.org; > linux-kernel@vger.kernel.org; linux-omap@vger.kernel.org > Subject: RE: [PATCH v6 08/12] usb: hcd: Adapt to OTG core > > Hi > > -----Original Message----- > > From: Roger Quadros [mailto:rogerq@ti.com] > > Sent: Wednesday, April 27, 2016 7:12 PM > > To: Jun Li ; stern@rowland.harvard.edu; > > balbi@kernel.org; gregkh@linuxfoundation.org; peter.chen@freescale.com > > Cc: dan.j.williams@intel.com; jun.li@freescale.com; > > mathias.nyman@linux.intel.com; tony@atomide.com; > > Joao.Pinto@synopsys.com; abrestic@chromium.org; r.baldyga@samsung.com; > > linux-usb@vger.kernel.org; linux-kernel@vger.kernel.org; > > linux-omap@vger.kernel.org > > Subject: Re: [PATCH v6 08/12] usb: hcd: Adapt to OTG core > > > > On 27/04/16 14:00, Roger Quadros wrote: > > > On 27/04/16 13:16, Jun Li wrote: > > >> Hi > > >> > > >>> > > >>> + > > >>> +static struct otg_hcd_ops otg_hcd_intf = { > > >>> + .add = usb_add_hcd, > > >>> + .remove = usb_remove_hcd, > > >>> + .usb_bus_start_enum = usb_bus_start_enum, > > >> > > >> Build break if CONFIG_USB_OTG is not enabled: > > >> > > >> drivers/built-in.o:(.data+0x1db30): undefined reference to > > `usb_bus_start_enum' > > >> Makefile:948: recipe for target 'vmlinux' failed > > >> make: *** [vmlinux] Error 1 > > > > I couldn't get this error. Could you please send me your .config? Thanks. > > imx_v6_v7_defconfig My bad, no problem now. Li Jun > > > > > cheers, > > -roger > > > > > > Thanks. Will fix it. > > > > > > cheers, > > > -roger > > > > > >> > > >>> + .usb_control_msg = usb_control_msg, > > >>> + .usb_hub_find_child = usb_hub_find_child, }; > > >>> + > > >> > > > -- > > > To unsubscribe from this list: send the line "unsubscribe linux-usb" > > > in the body of a message to majordomo@vger.kernel.org More majordomo > > > info at http://vger.kernel.org/majordomo-info.html > > >