From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB43EC433F5 for ; Tue, 3 May 2022 14:36:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237129AbiECOk0 (ORCPT ); Tue, 3 May 2022 10:40:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237127AbiECOkZ (ORCPT ); Tue, 3 May 2022 10:40:25 -0400 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 596252AE32; Tue, 3 May 2022 07:36:53 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id E17A5320094C; Tue, 3 May 2022 10:36:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 03 May 2022 10:36:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1651588611; x=1651675011; bh=wr1yEbLhma vCHn4YSc6slYBn0rcn1MuXeUqJmQnuax0=; b=RslftU20R/juV/ALfzf3oGCJSZ QESr632f4o07zZh+Pbth4vcSXsmv7+9SUYRTg/CeSFhFXYU125KB72Igwi4ZYsK6 8oslyn6TUrsAekDjk1Az0gV9JFkpiC+qJ6W4PhJpFSQXXl+V36te5vVLiqDz8tkM fW8yznmVaTyNeK8fxOHJ85upJ2KdKl2J0idxWaSmcDYvbx95ah6RbOrSPuOqZmp1 J4a8nKuiq1I0Dsarf5thOxjxGIMFjbX+UyPuOsvVra1p9Bj4fcgNXBLDg4PwfADH ieJKBOlC4tINlTGJ+0nUmi0U0Yix9Khs0CjSoxRXWfcI5OGmLZfDPamlWxvw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1651588611; x= 1651675011; bh=wr1yEbLhmavCHn4YSc6slYBn0rcn1MuXeUqJmQnuax0=; b=t 87Uz7VKSJFjqm0z5f8OEV36+lst3ZW9L5d+5mwYsceXRLDi2YtvxZe24eFxeA+M0 KXM0V+ydauwI4srYW9GBTauMap5+5Y7SLFbioVVgIvk1UdS3YVHPM1/BwmuYltMd Jsg04Mq6vgEc8fmwo+9I01sr4CBqPppO/jTaNiuS3NTwjr17n1OoQVWawkb1fMu8 A4CipH60iWcEGzr6TSh/tniLqNpUYsooPH6VW/ftKsFCkDio0XL9KKf1+3q4RgyO gvvWNso4EZ3QFOeIEDTxsIr/TG8T2ZpTz9E0T/WzQtwGVWw+Y1HrVo74vfeJPCQ9 UfNBEh+Av7Eggl5MsVtrg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejgdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeehgedvve dvleejuefgtdduudfhkeeltdeihfevjeekjeeuhfdtueefhffgheekteenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhh drtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 May 2022 10:36:50 -0400 (EDT) Date: Tue, 3 May 2022 16:36:48 +0200 From: Greg KH To: Stephen Rothwell Cc: Andrey Smirnov , Linux Kernel Mailing List , Linux Next Mailing List , Sven Peter Subject: Re: linux-next: manual merge of the usb tree with the usb.current tree Message-ID: References: <20220426150842.473be40e@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220426150842.473be40e@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Tue, Apr 26, 2022 at 03:08:42PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the usb tree got a conflict in: > > drivers/usb/dwc3/drd.c > > between commit: > > ab7aa2866d29 ("usb: dwc3: Try usb-role-switch first in dwc3_drd_init") > > from the usb.current tree and commit: > > 0f0101719138 ("usb: dwc3: Don't switch OTG -> peripheral if extcon is present") > > from the usb tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc drivers/usb/dwc3/drd.c > index 8cad9e7d3368,f277bebdaa09..000000000000 > --- a/drivers/usb/dwc3/drd.c > +++ b/drivers/usb/dwc3/drd.c > @@@ -585,14 -539,11 +539,10 @@@ int dwc3_drd_init(struct dwc3 *dwc > int ret, irq; > > if (ROLE_SWITCH && > - device_property_read_bool(dwc->dev, "usb-role-switch")) { > - ret = dwc3_setup_role_switch(dwc); > - if (ret < 0) > - return ret; > - } else if (dwc->edev) { > + device_property_read_bool(dwc->dev, "usb-role-switch")) > + return dwc3_setup_role_switch(dwc); > + > - dwc->edev = dwc3_get_extcon(dwc); > - if (IS_ERR(dwc->edev)) > - return PTR_ERR(dwc->edev); > - > + if (dwc->edev) { > dwc->edev_nb.notifier_call = dwc3_drd_notifier; > ret = extcon_register_notifier(dwc->edev, EXTCON_USB_HOST, > &dwc->edev_nb); This should now be resolved in my tree, thanks! greg k-h