Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4592310pxj; Wed, 12 May 2021 08:51:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxa1Akpg2SE6wVxWiA0Nv5wP/Dni0m3zexOqWk+OUjqTOKqLGjyUR+y1LW1GSoGsTDJu2k0 X-Received: by 2002:a17:906:1ed1:: with SMTP id m17mr39154558ejj.208.1620834686700; Wed, 12 May 2021 08:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834686; cv=none; d=google.com; s=arc-20160816; b=xTEGmKKpg5aiHrbztOu3BRhPlh2eCNqoR2CuhNgnkjCik7SvPbXdQIf//o8HDGvmpq oxfFV/gacae0Y1A/T5XAzWXz2oA93ikhwO3tb3vH+a/gSYREyFCYowBnMJQ3wYblKs7d uzoqUtHWkmb8+Mc/PSqbA/lLLM/inVkk7Dk0s6eIDbM0qgGo4G7+sqGU1RQN0nCk3RP6 gURjVnDUg3vYa0fzmSrkVXoDLob1/szAegf7Tu782NqaQYLygdbO2L02N+n4AzoQCQ4z D/aj3ansnraELdXmethYdLDcuLdPWsEFG11Wg+xUIW0FlAe93cGpwuwecgxROBl2d0oM pVvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vzKksIrPLLzo6/FOfQKWbXrfCOpQoN3NzgATArWmEWk=; b=nmz6lFkdqtIUL0OiF2yboj5iaY4zhnkSph9EE3QuFUdQJPjUGkQNftjda0CJzP23H8 UNnEd4naYDtQmaq7lyQ+VCX+N84pAFicJ+11VNpSrBEVJd1E7UJ+aDH9lGvz/i0eHKuN KJYkqXjkmamtBAQ6cS9tLxRsTKed4Q0pHH0tsKRLyYVif0EBpWx/r2nK6qtfL/EdjyPd cRXNelNS2t/ELtFUK8qfwR1CLuRjiTgqx32C+A+dsnBTsbOZNP4cJh+vEGvx+fORFRdh jS9AJBnw0NElBBF/8DqXet+xf/3eVYQADj/doLcJHpNBqBdpZ6UeinXFG4vi9kGf0Kp0 3bnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bHbEZX+F; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si401955ejd.75.2021.05.12.08.51.01; Wed, 12 May 2021 08:51:26 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bHbEZX+F; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237416AbhELPuN (ORCPT + 99 others); Wed, 12 May 2021 11:50:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:60836 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234311AbhELPYm (ORCPT ); Wed, 12 May 2021 11:24:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2BA78613DF; Wed, 12 May 2021 15:10:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832217; bh=Sn6z3w7XNa+qN0ZtT2QwitOTOGUbwSg6tU5rH34IcSk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bHbEZX+FkVH3d/UdEj38K13tsTBCLDOfahgpREvj42QMBQVRU0m7RyukWpG3XebLT FbpuBG0xRiV3iB86BBzOSEaXp23sA9mwkT5eK8Egt1sOekuoswu+EStvE0E3U/Q79C mvD6VJ8m1lEJaBjS9fCEzg5MgA1tgQB81QWCpy8w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Vinod Koul , Sasha Levin Subject: [PATCH 5.10 190/530] phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally Date: Wed, 12 May 2021 16:45:00 +0200 Message-Id: <20210512144826.079186467@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven [ Upstream commit 6cb17707aad869de163d7bf42c253caf501be4e2 ] Merely enabling CONFIG_COMPILE_TEST should not enable additional code. To fix this, restrict the automatic enabling of ARMADA375_USBCLUSTER_PHY to MACH_ARMADA_375, and ask the user in case of compile-testing. Fixes: eee47538ec1f2619 ("phy: add support for USB cluster on the Armada 375 SoC") Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20210208150252.424706-1-geert+renesas@glider.be Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/phy/marvell/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/marvell/Kconfig b/drivers/phy/marvell/Kconfig index 8f6273c837ec..8ab9031c9894 100644 --- a/drivers/phy/marvell/Kconfig +++ b/drivers/phy/marvell/Kconfig @@ -3,8 +3,8 @@ # Phy drivers for Marvell platforms # config ARMADA375_USBCLUSTER_PHY - def_bool y - depends on MACH_ARMADA_375 || COMPILE_TEST + bool "Armada 375 USB cluster PHY support" if COMPILE_TEST + default y if MACH_ARMADA_375 depends on OF && HAS_IOMEM select GENERIC_PHY -- 2.30.2