From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48B4BC54FCF for ; Mon, 23 Mar 2020 03:37:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1DEC820732 for ; Mon, 23 Mar 2020 03:37:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="Asjl1iAR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727145AbgCWDhh (ORCPT ); Sun, 22 Mar 2020 23:37:37 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:16263 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727050AbgCWDhg (ORCPT ); Sun, 22 Mar 2020 23:37:36 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Sun, 22 Mar 2020 20:36:06 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Sun, 22 Mar 2020 20:37:36 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Sun, 22 Mar 2020 20:37:36 -0700 Received: from [10.19.66.205] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 23 Mar 2020 03:37:33 +0000 Subject: Re: [PATCH] phy: tegra: should select USB_PHY To: Corentin Labbe , , , , CC: , , stable References: <1584545013-19859-1-git-send-email-clabbe@baylibre.com> X-Nvconfidentiality: public From: Nagarjuna Kristam Message-ID: Date: Mon, 23 Mar 2020 09:09:41 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1584545013-19859-1-git-send-email-clabbe@baylibre.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1584934567; bh=0hfRlRzIddqZPpiMXJgOvPWCKjWj2e6XvJATvVythHo=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=Asjl1iARSY27+VP5NLW7ipRgnnUhqQcODPj3NQ1VIqaR/HvKlS8L6D7JxTKD226P1 ejfxlKg3/bUtfKYWgByF2LSuDAc6uxYqYUQa7y8yKRYeLQLjnSdf0BT/cN3wg3Lt8y jAoY+CbIParTjXM8TnlDLITOto9dQZ+HsaO1hoprfWw3GsUVMBlPEPL5ABxLlHbzNF PiOEGjXlquz6Jti4rHsej1O4SEPnTdO0ZIhl9Utf0d4Oum2B5m9ET/A1h9g1mZNZnf L3Roc4hHaNV07Nk6pomFOEnh8jNlIZCeBJ741PBIizMJtt2E/cuDU58yrF2em6wBWc k0I40MaXPMO+w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Nagarjuna Kristam On 18-03-2020 20:53, Corentin Labbe wrote: > External email: Use caution opening links or attachments > > > I have hit the following build error: > armv7a-hardfloat-linux-gnueabi-ld: drivers/phy/tegra/xusb.o: in function `tegra_xusb_port_unregister': > xusb.c:(.text+0x2ac): undefined reference to `usb_remove_phy' > armv7a-hardfloat-linux-gnueabi-ld: drivers/phy/tegra/xusb.o: in function `tegra_xusb_setup_ports': > xusb.c:(.text+0xf30): undefined reference to `usb_add_phy_dev' > > PHY_TEGRA_XUSB should select USB_PHY > > Fixes: 23babe30fb45d ("phy: tegra: xusb: Add usb-phy support") > Cc: stable > Signed-off-by: Corentin Labbe > --- > drivers/phy/tegra/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/phy/tegra/Kconfig b/drivers/phy/tegra/Kconfig > index df07c4dea059..a208aca4ba7b 100644 > --- a/drivers/phy/tegra/Kconfig > +++ b/drivers/phy/tegra/Kconfig > @@ -3,6 +3,7 @@ config PHY_TEGRA_XUSB > tristate "NVIDIA Tegra XUSB pad controller driver" > depends on ARCH_TEGRA > select USB_CONN_GPIO > + select USB_PHY > help > Choose this option if you have an NVIDIA Tegra SoC. > > -- > 2.24.1 >