Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp596647pxk; Thu, 17 Sep 2020 10:54:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVFs0HrqxzBgmxcSvVlqF6pyjmEHB/FwXGS+k9ZtGmoMJT+JfX/GUmANYY8BGLbuz442oK X-Received: by 2002:a17:906:2b83:: with SMTP id m3mr14076921ejg.456.1600365265708; Thu, 17 Sep 2020 10:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600365265; cv=none; d=google.com; s=arc-20160816; b=OHegaTCpMim40Flf3vzE5oUbmsT4dbtmjZyxVU33W+/W2rrgfLLWuaOyn8yS0P/GBW vAUmuuE2cWzECBcpguy8ue2fonn9IZXNDUXNCyPH4AP4SHJYfantfxsN7iGjJ1+p2CvG 1JyDXWBAaK4/KcWPRCWTtJtummjVzD8prFICrCMVzlI0H6CBXUVNAQ0QvNTHtkJIq5uD TdUPUg7rsDwOJ3NEOqVbdOfTSbtaJaWWprxZuQvM2HMxNCEmj+j2Q7nG2c6KKdso2FLd yAslkjI3ziCphN+WVaJ+acPxJMlMFpUqvb/mU9EY+WEvgqhGaA19LibvwPgvJrtmgzfE O6Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:from:cc:to :dkim-signature; bh=pGkfsVyYFjM6wbe1xMrt8vihG2zoZEqiWnoR3qBkdNg=; b=TjwtCVzpXrb67nxrqgE0lmVgsZm50t8Z+DFQI3dRzSrFyzKLvc32Vbc79UtXFbnunO K2iY+XyunxrRhK+6zHjbsxtGFK1Qiv79nt5OoXjbloam+V5Qmo9zhq7SMVl+6UE5uWGc Bj54zMaZKHbh9NKZtAD7kNziMlKq/0BgBUYP9BQkrbzydL3TZXtVlNfvSVH7U0E/cFgv 2SDD8k4nZrUvcwUYligivS7mFjd5j+oLQ9gpaI6zcC+2FIwfoV5BArgC4aUDZu8O/h/B YisD/MhTmzM1p5RupkkRrqJx9jEOTcAX4tpJMTY3XfA5cYiNYDvR+p/4RAZQ4ISEYHO6 ECnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=r1gCnVlt; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si277742eds.432.2020.09.17.10.54.02; Thu, 17 Sep 2020 10:54:25 -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=@infradead.org header.s=casper.20170209 header.b=r1gCnVlt; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726607AbgIQRwy (ORCPT + 99 others); Thu, 17 Sep 2020 13:52:54 -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-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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