Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753974AbbHMSlm (ORCPT ); Thu, 13 Aug 2015 14:41:42 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:45341 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751517AbbHMSlj (ORCPT ); Thu, 13 Aug 2015 14:41:39 -0400 Date: Thu, 13 Aug 2015 14:41:37 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Ramneek Mehresh cc: linux-kernel@vger.kernel.org, , , Subject: Re: [PATCH 7/8][v3]usb:fsl:otg: Remove host drv upon otg bring-up In-Reply-To: <1439490305-29215-8-git-send-email-ramneek.mehresh@freescale.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1223 Lines: 37 On Thu, 13 Aug 2015, Ramneek Mehresh wrote: > Change have_hcd variable to remove/suspend host driver on > completion of otg initialization for otg auto detect. > > Signed-off-by: Ramneek Mehresh > Reviewed-by: Li Yang-R58472 > Reviewed-by: Fleming Andrew-AFLEMING > Tested-by: Fleming Andrew-AFLEMING > --- > drivers/usb/host/ehci-fsl.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c > index ef04c5a..5dd3243 100644 > --- a/drivers/usb/host/ehci-fsl.c > +++ b/drivers/usb/host/ehci-fsl.c > @@ -196,6 +196,8 @@ static int fsl_ehci_drv_probe(struct platform_device *pdev) > retval = -ENODEV; > goto err2; > } > + > + ehci_fsl->have_hcd = 1; > } > > return retval; Shouldn't this be merged into patch 3/8? It looks like it just fixes an oversight in the earlier patch. 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/