Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4550514pxj; Wed, 12 May 2021 08:02:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzIsiGeLiJ8RNYTsE+cqxo+0UqXVkutZqwTSDlGdUUZiYEZwEQhW3AGpTM9cGlZNT+CVU9 X-Received: by 2002:aca:5783:: with SMTP id l125mr26979439oib.130.1620831736456; Wed, 12 May 2021 08:02:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620831736; cv=none; d=google.com; s=arc-20160816; b=Nr/zhy4ZMliRsnDJl/UjhG9p7gDXZVsGVT8dXddSSYLzBUnUy/2WHnTxhR+L8QKp0l mnNzOlMEVbQutVwVlothSpVSJ68Ng+pVKK1XdcI+NowBv38zuWUGKa6blN+XMeSueCbg iSwfoOTXQA7g6g+baLH7igkRItJ1CeNLAbBnUSNNyC7/CLP/7K7l0pYUbmdmbP14Frjt OlIEtypI6GUXpMKqptZ1jP1t6un3OrqotsOCb8cBDlGrH/g7l56BTzAPPknLuxA8yW4R 5iwFRFoUomJtKX69hgpjF47gsY8V6YogZ+nFXUDP80/ZZd6sHvHF2XtwHoWuyLdFe/Li qt+w== 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=arlKRhHU6D4aHGJM85PMLAaAnc9u+rvFRbUxxd+7puk=; b=cAW5rtKIaRharBjXBqHe0zR+9zEy5VJH7tZ9x0wDOV0a9qXXVBr9Py0Z/m0DVJ19ki dWBa2Ok/XecI41AoU3SsHrmaovWg+Eatc8E9Ad9API86ZD8TLQ33LyMeU20JnFBkXkab I9rtc2AXMx7YV2XoTm4Pz9dnkbEOqN2iqNfiR6DEALeLQdICrYcYn2T1BzPlTnSkQkDS 2ke01E7Cj47nHv4L9reWF0UpPrzTazYVdrnMFNawlNX1XYy/LPkSnCbgFYfDLEtd2FHc qr7XEPBIVf67/ZivBRtRCxsos6QOGEn2Q96qDKGXgip+TGZqVosIxHIOZnPUx+M3in/Z VwWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G8LGmY0l; 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 l2si113651oti.264.2021.05.12.08.02.01; Wed, 12 May 2021 08:02:16 -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=G8LGmY0l; 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 S232404AbhELPBu (ORCPT + 99 others); Wed, 12 May 2021 11:01:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:46734 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232548AbhELO6e (ORCPT ); Wed, 12 May 2021 10:58:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D768C61453; Wed, 12 May 2021 14:56:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620831381; bh=6SXFHBKWlYb4RzT/JTeoClWjpa5gg+b0vNjMvH/n4CE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G8LGmY0l2dqBJsW6k3Xwav5dLkAC/RppHBX3P1DQBhpRqQjQLe1Cy/JEo+z/wDTCt YI3NMDaHNbcTDHEhkWFX5NWeEcFuSnH6zTg7EC376diP7JFniSoDq5rMik9GMRk4CV G/M2jwpdGriFpS9mKAx3iaLgqUXvh3w2sMEdaFgY= 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.4 098/244] phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally Date: Wed, 12 May 2021 16:47:49 +0200 Message-Id: <20210512144746.173897096@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144743.039977287@linuxfoundation.org> References: <20210512144743.039977287@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 4053ba6cd0fb..6e3e5d67e816 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