From patchwork Thu Sep 17 17:51:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 297600 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=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, 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 2E821C433E2 for ; Thu, 17 Sep 2020 17:53:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DDD3C2137B for ; Thu, 17 Sep 2020 17:53:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="r1gCnVlt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726533AbgIQRwp (ORCPT ); Thu, 17 Sep 2020 13:52:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbgIQRwC (ORCPT ); Thu, 17 Sep 2020 13:52:02 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F3DDC061756; Thu, 17 Sep 2020 10:52:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=pGkfsVyYFjM6wbe1xMrt8vihG2zoZEqiWnoR3qBkdNg=; b=r1gCnVlt4vYnAWkwa/wKKHMJuk M/9XNRpTvcWG3orOH+ly4yA0waoICNPUIB8xPwcWuzjCwOcnuaQflyDAv3bWha/HZIlu2hJ9rYp7/ vBwOUbsqVgH25sQUBzoq8h4dtoOuJuBOaZOYfKeM+H4Zcz9TdsFrUCZD92r/vQB4a3GU0RqTtrKT/ 5ZIPRaea0rJX2hDHoMgvV05m9G9kP6074oWk69zq50N0nEy3pyREIw0IDGlHCwFjr/lYYiTMFFQP8 iqeZDh8hjsXnyLnyu+08E82E/UHusDjQvRWfv2358r1N7bk9j/zBG2llkrdY+Sjx3u3lv20rkxE2a fcG506Vg==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIy4U-00046d-Gx; Thu, 17 Sep 2020 17:51:51 +0000 To: LKML , USB list Cc: Li Yin , Vadivel Murugan R , Kishon Vijay Abraham I , Vinod Koul From: Randy Dunlap Subject: [PATCH -next] phy: fix USB_LGM_PHY warning & build errors Message-ID: Date: Thu, 17 Sep 2020 10:51:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Randy Dunlap Fix a Kconfig warning that is causing lots of build errors when USB_SUPPORT is not set. USB_PHY depends on USB_SUPPORT but "select" doesn't care about dependencies, so this driver should also depend on USB_SUPPORT. It should not select USB_SUPPORT. WARNING: unmet direct dependencies detected for USB_PHY Depends on [n]: USB_SUPPORT [=n] Selected by [m]: - USB_LGM_PHY [=m] Signed-off-by: Randy Dunlap Cc: Li Yin Cc: Vadivel Murugan R Cc: Kishon Vijay Abraham I Cc: Vinod Koul --- drivers/phy/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20200917.orig/drivers/phy/Kconfig +++ linux-next-20200917/drivers/phy/Kconfig @@ -51,6 +51,7 @@ config PHY_XGENE config USB_LGM_PHY tristate "INTEL Lightning Mountain USB PHY Driver" + depends on USB_SUPPORT select USB_PHY select REGULATOR select REGULATOR_FIXED_VOLTAGE