From patchwork Mon Nov 15 17:01:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 12620119 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01086C433EF for ; Mon, 15 Nov 2021 18:19:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BE3C1632B5 for ; Mon, 15 Nov 2021 18:19:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BE3C1632B5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RARB8499AoHy5I81TLzpaXHt1myl4nDGD8I7lyU1+UI=; b=RHIQLIBgxhWRqD wvHweofw1i78BeU2ka3skzm1ESX3ceoBaEO6mjkaxDAWp7sOGO8fkm//DkZLMc9scBy441cgWRBCw Qx0gFif75xg0XoQICVCAK3/lrODvQcfjgQJvvuoTiNR4Qn1gGJyaQte6qo66NsB9eEMiRxP4NE0jd i5QHxLQFTiStoN3VWZ/7Xx9Sms1Sx5gr+ZhRRVFs0tghuMXNta3wiMSDBDvklHELtQIVxpQcN+lDa /aDGsPfSlcrurOQShko6R1QmS7Diw/aDQdVH0Tyh72xZLfsH4l8g0P/C0efxLni+pmvQMV4nL5TFm KOHO3vgIrTYWOnLEkHCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmgZt-00GedF-M6; Mon, 15 Nov 2021 18:19:37 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmgZr-00Gec3-3F for linux-mediatek@lists.infradead.org; Mon, 15 Nov 2021 18:19:36 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 43FEC634AA; Mon, 15 Nov 2021 18:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1637000374; bh=a2gwHSopEmrMWCKLi/RmnFjPijvwE1uhhxTBII19q5k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2GusmZCAVLxJ0ltt6uTdMT1xAfOggbfaaK4/VdeYRvQzDc2e65YSH5h4woiH0sFlT OVIHY66g1iZH70qg1MQVlaYiKWkOmA4Om9i2YGzxECxJi/fR5R9psD6JDOH8/gUqil jATysaKuBBzHdh9fLIjsnpmaUHL5EtbSCAMKYj0A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bin Liu , Min Guo , Yonglong Wu , linux-mediatek@lists.infradead.org, Randy Dunlap , Sasha Levin Subject: [PATCH 5.14 605/849] usb: musb: select GENERIC_PHY instead of depending on it Date: Mon, 15 Nov 2021 18:01:28 +0100 Message-Id: <20211115165440.716211672@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211115165419.961798833@linuxfoundation.org> References: <20211115165419.961798833@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211115_101935_172122_E13160C1 X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: Randy Dunlap [ Upstream commit fde1fbedbaed4e76cef4600d775b185f59b9b568 ] The kconfig symbol GENERIC_PHY says: All the users of this framework should select this config. and around 136 out of 138 drivers do so, so change USB_MUSB_MEDIATEK to do so also. This (also) fixes a long circular dependency problem for an upcoming patch. Fixes: 0990366bab3c ("usb: musb: Add support for MediaTek musb controller") Cc: Bin Liu Cc: Min Guo Cc: Yonglong Wu Cc: Greg Kroah-Hartman Cc: linux-mediatek@lists.infradead.org Signed-off-by: Randy Dunlap Link: https://lore.kernel.org/r/20211005235747.5588-1-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/usb/musb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 8de143807c1ae..4d61df6a9b5c8 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -120,7 +120,7 @@ config USB_MUSB_MEDIATEK tristate "MediaTek platforms" depends on ARCH_MEDIATEK || COMPILE_TEST depends on NOP_USB_XCEIV - depends on GENERIC_PHY + select GENERIC_PHY select USB_ROLE_SWITCH comment "MUSB DMA mode"