Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2123081rwb; Wed, 5 Oct 2022 09:18:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6gE4e2IT/7FU6Ic3xrtN+kPSQdA9WJfkmy6NfbqGqWBds+m2AaGM2fRwwVbk0ncdJBlNGS X-Received: by 2002:a17:90b:1e0b:b0:205:bce5:467f with SMTP id pg11-20020a17090b1e0b00b00205bce5467fmr5850301pjb.24.1664986696527; Wed, 05 Oct 2022 09:18:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664986696; cv=none; d=google.com; s=arc-20160816; b=oreBzIFipZTG1Wm5qCYeFOynzihUBofdAmAX8MyHquhW+6+YOpOp2dV3GQeb1Iw9NF Fz6tP/TXzHbhYk2S0AMxUccJqALfihQh3+1JMuhNTJ/jig9pGXcdl7RhPAkLOWk6KARF yXl3E331g7/vN5/ujiJL7CJeSZKD8Pd7RksfiOc41K3T0oO6+0WJ6+05SMdOGc+CgO9e AFAnalZhvUpjeqN74uU/qextXYTL4oEd+nwJYRG0Are5Xg50rOEtkccASUm+wy9f9n8c L7d3W/xf4BmBa6mNBuIWIuZYbkJihJTnYrKjygsJ3x5Vv1rnY6nxOfLlZqB0FM0RjVu3 VtwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=eUb3a225xyw93uY3jF4tTdcj9L+6FzFjmB+A4OPWrF8=; b=poxTRsUp+jAilL9mqfGJX2V9snMnjDAAz4vy2mpNFLqh3FjrmvuinkqkTgYQWo2vqu QYtYgaJwx/9By1Zad+axnpsVNrJraQxrqIC0fkCO0CoMzSNt5Nk6S7GodhDVzgE/2bCD l6yzU2A2/ItVAltUkJ+2i4YZ3TjxKsgkN7N4J7GOaSD4raFHxPfqdWay0zKz/roDo/9T mx+jcnmcAZ5LNADvk8LPAG5ZDghgkqhCPEWA/YnNFXNCRMBxmB4ZyGuDGe60f+yA0Qrc RzHFnvbEGUollwf11LtDbWREhC/f7Z03zmjrfhqSAqLNFh9UBKqd8/BKSyH2Q3KjoAAR 6F8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oATKaZ93; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a170902f79000b0016d9c8479b5si16767528pln.344.2022.10.05.09.18.04; Wed, 05 Oct 2022 09:18:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oATKaZ93; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229946AbiJEQLA (ORCPT + 99 others); Wed, 5 Oct 2022 12:11:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229999AbiJEQKt (ORCPT ); Wed, 5 Oct 2022 12:10:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01A647CB40 for ; Wed, 5 Oct 2022 09:10:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9FE79B81E73 for ; Wed, 5 Oct 2022 16:10:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 508C9C433D7 for ; Wed, 5 Oct 2022 16:10:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664986245; bh=2kAcxYh/aDNzXrxp4mtWajIo28uI6uHs4/Lk0YeAACs=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc:From; b=oATKaZ93ZEoYuSpBeoQ4oPNBMYIVBiss066ImimQvT2C3chmDp1w8+KMhcesaONbF nsFGIxkTqHzGT3EsZTtwMg8DUnch7YUdgoOPYK/qj/+1qsj7IZg5JupsHJiXxJA5GK D+gyKwwFd5qKjVYoavo4bZz/IKHyTBXBNUfTQDvY0b9Om8JwFFf25OJmERaBk1jMXF gD5oacXpyogd0H8hyHKyMpbrpkA2QuQT1zSKW8jIocKLkImLkkpgedN7QwJ+yLsfOy KhpIWhssaQ/NCeiuQVpolxTvuUW9p8oGpSQ3+Vo982Mxm15wboxXO6h3da+i7wc2fW xmcAB1q5qDDHg== Received: by mail-wr1-f41.google.com with SMTP id b4so19720778wrs.1 for ; Wed, 05 Oct 2022 09:10:45 -0700 (PDT) X-Gm-Message-State: ACrzQf3vA9ekNtqaSUfub1aA3jHBQHi+qF+rMQAOBoAw7IHiMqzSIL94 ZD1c01/nuciam0F+/+XORn/h0sYkE8bwN0HZjcM= X-Received: by 2002:a5d:59af:0:b0:22e:32be:60f1 with SMTP id p15-20020a5d59af000000b0022e32be60f1mr310576wrr.81.1664986243596; Wed, 05 Oct 2022 09:10:43 -0700 (PDT) MIME-Version: 1.0 References: <20220902184543.1234835-1-pgwipeout@gmail.com> In-Reply-To: Reply-To: wens@kernel.org From: Chen-Yu Tsai Date: Thu, 6 Oct 2022 00:10:31 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4] phy: rockchip-inno-usb2: Return zero after otg sync To: Vinod Koul Cc: Peter Geis , Heiko Stuebner , Kishon Vijay Abraham I , Samuel Holland , Markus Reichl , Michael Riesch , linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 4, 2022 at 11:24 PM Vinod Koul wrote: > > On 02-09-22, 14:45, Peter Geis wrote: > > The otg sync state patch reuses the ret variable, but fails to set it to > > zero after use. This leads to a situation when the otg port is in > > peripheral mode where the otg phy aborts halfway through setup. It also > > fails to account for a failure to register the extcon notifier. Fix this > > by using our own variable and skipping otg sync in case of failure. > > Applied, thanks This should have been applied for v6.0-rc, not -next. We now have a v6.0 release that doesn't boot properly on RK3399. ChenYu