Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp503509pxa; Thu, 27 Aug 2020 08:06:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHAyxvHKcnDgpJy6J4t5UY8uQMp2NPMP5SEMBnYEmR/El2pyrGJe8KBUdqXvhnmlrJ4bQ3 X-Received: by 2002:a17:906:8246:: with SMTP id f6mr21292799ejx.278.1598540807510; Thu, 27 Aug 2020 08:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598540807; cv=none; d=google.com; s=arc-20160816; b=wFA2YELyMIPjhzNZB+jGKncndsQHQQa4oFilsViMOqmzzL/E08p6g4brg5hXC7SQuU NqbQw/w7RPEuqhJOPB7LedlXvn6o3RNcVWP1L9zhT3YlgUxcej8ca0Jzdt6a+RObTUPI dkS+XXhvsX2rhpKaR8nXGip4RX+6JEs9+6gY5wpkiXaulFR5DUDwEn+xi0DK1HG+aWMs ATRHp4sG4ombhQ4riPyrmyzGWPARqJbU46llJ/6fK28ZSJkEykaitaDWOvjDUywhKZ9A 9Tlopw+9NkC/ya1TmCG7lr3CX1APgnJyDWenz8Ny+BQLWUmknXqm1xdB+NEayP2ao/XE +Gbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=/XXhzO9r5vTNMzmRzmkqInM/VDsev/woraJET9dU85s=; b=ugNdhKPCSGRcPIdDE/5zI1Wya/Ri1WAE9Tt8u8yYzJ7WrSsfz8tQOPrMLOsCAZ/2P/ iTDHxcxTFZLCvPNPDIwMIoP8XTKJdrcw2mVJBanNBYBOb6Gl9oen/Hr61HqgMVQIFVNe hcNUp0xYtcUyOMkMHqksVifWjTrL2eDVt4VylfC/5VuXn2BOLHLzch9DAmLAv5ndR0xZ 8ntiGNQKw4APJ2RzHtQL5A5e0b1IMIEOu/H97AYQyksYsesVCJ3bt5ZsnLE85n5KfiaJ D6TADgpPSa//Fq3jsD/4Q0yaXTo5UGKa0x38OZbYHc4D/sgKlvFkOMszdE4pJC8TfMC+ R/Rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w23si1446088eje.357.2020.08.27.08.06.24; Thu, 27 Aug 2020 08:06:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728307AbgH0PE7 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 27 Aug 2020 11:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726854AbgH0PD3 (ORCPT ); Thu, 27 Aug 2020 11:03:29 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62B5FC061264 for ; Thu, 27 Aug 2020 08:03:16 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBJQe-0000so-Kx; Thu, 27 Aug 2020 17:03:04 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1kBJQd-0002Rp-My; Thu, 27 Aug 2020 17:03:03 +0200 Message-ID: Subject: Re: [PATCH] Revert "usb: dwc3: meson-g12a: fix shared reset control use" From: Philipp Zabel To: Amjad Ouled-Ameur , Felipe Balbi Cc: Dan Robertson , Greg Kroah-Hartman , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Date: Thu, 27 Aug 2020 17:03:03 +0200 In-Reply-To: <20200827144810.26657-1-aouledameur@baylibre.com> References: <20200827144810.26657-1-aouledameur@baylibre.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-08-27 at 16:48 +0200, Amjad Ouled-Ameur wrote: > This reverts commit 7a410953d1fb4dbe91ffcfdee9cbbf889d19b0d7. > > This commit breaks USB on meson-gxl-s905x-libretech-cc. Reverting > the change solves the issue. > > In fact, according to the reset framework code, consumers must not use > reset_control_(de)assert() on shared reset lines when reset_control_reset > has been used, and vice-versa. > > Moreover, with this commit, usb is not guaranted to be reset since the > reset is likely to be initially deasserted. > > Reverting the commit will bring back the suspend warning mentioned in the > commit description. Nevertheless, a warning is much less critical than > breaking dwc3-meson-g12a USB completely. We will address the warning > issue in another way as a 2nd step. > > Signed-off-by: Amjad Ouled-Ameur > Reported-by: Jerome Brunet Acked-by: Philipp Zabel regards Philipp