From patchwork Mon Nov 15 17:02:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 12620073 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 C219EC433EF for ; Mon, 15 Nov 2021 17:45:24 +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 6E716633AD for ; Mon, 15 Nov 2021 17:45:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6E716633AD 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=C+WFag0Mk6tOdY 3gjwt2S+ley+x6n4O7Skl53dBL/97rNfFQYUqhoYO5dwQKvo2lUzUpT91sxsn7vVhy5T/t5M1iM5p 4LOtYIQxnNjlOFNaHfz7pX0dGzd9OpM5ijt3hKm1COJmXVGSb6P620UNN41VcNCBYx3aiy0Ogtyzw h2bHend5HmLT61UGXnpZQlbGXh00zS7P7WwWijrFE7vYXpkzBfgMx47Id2lMUUCczwwC6hHCNppTB jHfPithj4NutqQvzTCjHN+1NlJhseWAv/CuHtlvBlHStE29SnBhINR/ifitKYVGUgE/p1qTG0+11B ZuMXXgeOy9V8pkeoAw6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmg2d-00GaDz-IF; Mon, 15 Nov 2021 17:45:15 +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 1mmg2a-00GaD0-BD for linux-mediatek@lists.infradead.org; Mon, 15 Nov 2021 17:45:13 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 65EAE633A2; Mon, 15 Nov 2021 17:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1636998311; bh=a2gwHSopEmrMWCKLi/RmnFjPijvwE1uhhxTBII19q5k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=siG6reAUmQ6AJQlkXSndyVrje077lviNcg5fp1UA8JlLO23/E4jUbjAo4uejIBH/8 5XwplPj/dqO42OEz2Z0YaLO2L4FvAeXal6OwtSF3CSAq5dOxWOcTgg9i+0WmOjUcMI fqKLRfFnK14eq8mEjMKhHc1qhvhz7fRYrlmR4WMI= 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.10 431/575] usb: musb: select GENERIC_PHY instead of depending on it Date: Mon, 15 Nov 2021 18:02:36 +0100 Message-Id: <20211115165358.683757027@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211115165343.579890274@linuxfoundation.org> References: <20211115165343.579890274@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_094512_455068_70328ACC 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"