Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp415865pxj; Thu, 20 May 2021 12:17:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp2MEAQ4vRaT4/ns3250NoM+/JPjDS6p+VzhfGEwQ1lOcuZmnYlstMSHFhWEezN89pytgO X-Received: by 2002:a17:906:e98:: with SMTP id p24mr6144261ejf.478.1621538272053; Thu, 20 May 2021 12:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621538272; cv=none; d=google.com; s=arc-20160816; b=DrQCmz5Mn/XAc09lbrId63ntO6lLFvTj8qSVkaKQJF8/V2A70dvL0OI9t3N42ynGNx DQqBolxPKCUyn13PycYbIegAODN1KVWn90sMvLvbuMPUfhlN97GoSSZ3//9uhBsfP052 /PSKNpNbHAHhfEuQGg6w3A6n8D3jq4s/lsN+k7RrIwUjKyWrgtUIf6IogjN2fQqmEGJS 4pfoSYrn5NbCtb9IaZzvbAMFL7nqXsX58wAZgTNqUH42O/v9AENtdmuPZBAzhpVxvhHt UahAXDP0EvCmw4FVIog7NCJ8coq3hIFnqbpVuOtm4n3Bs5NLjrcPG+iNTh9tfo16QLam +KMg== 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=0AJ5bkMjxdS/NFxyfLLbSkPmiEET3ykyCSeKetKSyOw=; b=oBYaxZwnl/VYvpdTPPhdh79RwPHpZUZeEQk1P5aEQ5Qrfwp9SUY3cATiQMnbHyv/go UOJ2YnyldNbb7G9qVbZL8taMDlaDg2z9YBING0UXaMngiZJZFVNd6WcaWqzJvmBQgM9u crDZany7VhOXsPmXZxYl+Bq5i9XYDZqySg8MQshaQvKn/h4fz4J2TPWCIlv27/DAQPSg uWCTYMu0To9yu9VriqMan0pI8nzVu1TPKmFs4vQ/aGR5zvW0nG0YVLG1u6gIZlINqHGD 0AaVJBqlBDgs78fN7mGta3YQiFQqPi+K1DNHGbFLZBvUpRtGeHzGTWJ7tfjwTuE72HiR 9pfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wz3S5PuQ; 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 d19si2797162edj.451.2021.05.20.12.17.28; Thu, 20 May 2021 12:17:52 -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=wz3S5PuQ; 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 S237917AbhETKoH (ORCPT + 99 others); Thu, 20 May 2021 06:44:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:55768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236756AbhETK2J (ORCPT ); Thu, 20 May 2021 06:28:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 58DF961C2D; Thu, 20 May 2021 09:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621504250; bh=Mc5/Am/gSQnTwDB+AGtQYp0SdF8yNbgwY9M2PbwZwM8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wz3S5PuQ18f5rDrN5Mv2FwXrPJEM3hKsnPWllO9MnISG9iPMnLg/AW5cJq9qvhb+7 BeuL5FWuJy5xZdY5spmIhoQk6mubyhhrGsbZVs6A8XFVMz8Z8MVMLGXqBB7eSvD47C FgPAUHIneBAi4cgPWc6NcjixgqxP9V9s++jQrMQM= 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 4.14 159/323] phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally Date: Thu, 20 May 2021 11:20:51 +0200 Message-Id: <20210520092125.555758783@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092120.115153432@linuxfoundation.org> References: <20210520092120.115153432@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 68e321225400..ed4d3904e53f 100644 --- a/drivers/phy/marvell/Kconfig +++ b/drivers/phy/marvell/Kconfig @@ -2,8 +2,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