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 X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 314A4C433E0 for ; Thu, 11 Mar 2021 09:55:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E349064E04 for ; Thu, 11 Mar 2021 09:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232190AbhCKJyb (ORCPT ); Thu, 11 Mar 2021 04:54:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232097AbhCKJy3 (ORCPT ); Thu, 11 Mar 2021 04:54:29 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81D01C061574 for ; Thu, 11 Mar 2021 01:54:29 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id t37so2551094pga.11 for ; Thu, 11 Mar 2021 01:54:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=WEr1z9TXHKDpHaWl7p8IM2JmOkgWmJSPfC6MYuXysQk=; b=Fj6U/++g1RAISV6DwXWpxHaHxTJPQYvciSvMPIzV5pUt5IjQtwEOHmskU9KJ02KV/T CZjDDGupljwEb0eM707gQxnt/8D/enGVmaLyQsWeRCbICgQqJoB5iUgq676NQAN2VuAt NX8WUIikEOnPiK5Lz7t/8ziXxuDN1d362C4yo2+HABOugPabXtCMvjUf7Og17BQ57/N7 wuO1OpH2UwGSiBss85DdJjiKRzHEJ19ftjbC2uuo0F85yddxbuyv7JFb8GmTJEB3AByE CclEnnfv9XtCr1VixQ0hYx1BaVpuHnzng62iUkBd5xGS+q0xuucR9z0+OsK06Jot8v+N NENw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=WEr1z9TXHKDpHaWl7p8IM2JmOkgWmJSPfC6MYuXysQk=; b=S8r0xEcINd5Htl+HYdc5kyemnDDyzP3IYz5QWqkt8umGd0tLdMOqDyjOxyUA6ePoFd l7c5Gs+wN94JSsaNpyLBujfnYCV083yTfKomp3SVsrFMmDtyl7fcLjPQwf1h0t2zUUSZ Q6XemO2Ad54bZTv11lrIf7OqqTa1AJomGAxB1CIzn4LCZAqAORaWtzU2bGWq5QkvamVk 7cdE7tO8akqeoNjWgN1yFQMlMVuDjIXWj5o6kaWCcn0gU6DMQDN67Nf7hHYGzkKJCW1E UCKn4DSyeqPZiVcIRrThL8Yk+Hwg3e6dUuCTInj6cu+OH95DpEHvocmHKHyJHBAFsCki 3UgA== X-Gm-Message-State: AOAM533lt+rt3JuQgpFwdkJ/S8YcxPaKaE2WHCy/7p2hJXIQ6VJYAhUz oBMlwXdaJF7a24M1jDMyuwlSkA== X-Google-Smtp-Source: ABdhPJxl+IwSc/J2mLN0SD9lXuWJK4iMpEApevg4CsIzin73s4QAkdSTQHk4jcCNVjD3jBdTEkvenw== X-Received: by 2002:a63:2009:: with SMTP id g9mr6572975pgg.219.1615456469056; Thu, 11 Mar 2021 01:54:29 -0800 (PST) Received: from dragon (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id s4sm1788735pji.2.2021.03.11.01.54.27 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Mar 2021 01:54:28 -0800 (PST) Date: Thu, 11 Mar 2021 17:54:23 +0800 From: Shawn Guo To: Heikki Krogerus Cc: Felipe Balbi , Bjorn Andersson , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH] Revert "usb: dwc3: qcom: Constify the software node" Message-ID: <20210311095422.GW17424@dragon> References: <20210311090049.7354-1-shawn.guo@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Thu, Mar 11, 2021 at 11:11:43AM +0200, Heikki Krogerus wrote: > On Thu, Mar 11, 2021 at 05:00:49PM +0800, Shawn Guo wrote: > > This reverts commit 8dc6e6dd1bee39cd65a232a17d51240fc65a0f4a. > > > > The commit causes an regression for ACPI probe on Lenovo Yoga C630 > > laptop. platform_device_add_properties() will fail with -EEXIST for the > > second USB instance, because of the software_node_to_swnode() check in > > function software_node_register(). > > I think you mean device_add_software_node() fails with -EEXIST, no? Yeah, I was looking at the wrong line. > > There should be already a fix for that: > https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=2a92c90f2ecca4475d6050f2f93 > +8a1755a8954cc Cool! It fixes my problem. Hope it will land 5.12-rc soon. Shawn