Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp899632pxb; Tue, 1 Feb 2022 12:45:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzH4FJgdS5pqN5zR7y327PBS9wMS+w4Kz0U6/AUkYuMr/owYVrbMOe+gY9IzKfOjQhS+xf/ X-Received: by 2002:a63:c6:: with SMTP id 189mr1920072pga.482.1643748318839; Tue, 01 Feb 2022 12:45:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748318; cv=none; d=google.com; s=arc-20160816; b=mC7m3lMm18PDex3fy/XmyZifeRA72MNejQS7yZjtwQceQ1EqTBdcKCaW95GWpEcnIK OoI8Cbc9PVfgMZfy7ummhdQ/kLWgdiKV5PuaqW59kzaJVLwuKv6GKkRTDoVvEVLY+75v /CF+jb2MvGor+F6crtt9eCOj4JDkSRDBuIpC2AU/Q0hhRwmKkjLF/LybK98hrYkEdTyu 9dzrbbsRn65x5WMShuQriqlyn/tgD4M6Q8xYY7DX1OyPc0zobp0ckX3jmhCrKLVGGzGE W5H26nFL6Iq9zFQ8h1LyV6/vKwUcz6qcION8O2519R660MowaQI5rhEeMrDy0Jm3a6Nr 8tGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=GEwATrS8QyZwxwEyKt9LncyWi/r/xnwpQIPKwhOCdNw=; b=SuwDSIbjjyjVsnYy2KIjEaNR3u2c4adkTwlBxfudf8Yp6bK+lXemAx8kRkPi5ExhUR yYUklAomo2b3gELcjvGDiA5Au6vnhuwjZ42aRHTFAzttUAfG42JEobLflvN6GKT3jcDL wAhAl/7DZdwYH1+sPnM3Cg3RNdkZD6P0b0PNL99F9638O5CTrY0ZXkS8yFCdWYyyf0JJ 20IxKmzFkAHbk/ffUq6smX92tqt9VuBHzI41x+55DFg9V66FHIiQRT+rH3Yni5ZYiV/4 mKrET1TAUwA8yMSzKoSC57fxG8Da1YjrPcDDufzou8Q/6sZggoZ9StZYkDTGGDNIVP75 lWUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=mYrisjOo; 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 u191si17429838pgd.192.2022.02.01.12.45.07; Tue, 01 Feb 2022 12:45:18 -0800 (PST) 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=mYrisjOo; 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 S1380375AbiAaQ1F (ORCPT + 99 others); Mon, 31 Jan 2022 11:27:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380319AbiAaQ0n (ORCPT ); Mon, 31 Jan 2022 11:26:43 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 070D4C06173D; Mon, 31 Jan 2022 08:26:43 -0800 (PST) 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: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description; bh=GEwATrS8QyZwxwEyKt9LncyWi/r/xnwpQIPKwhOCdNw=; b=mYrisjOodfhbzF6aT3BqYPvfVx arCZ2gkbDftYehgG2gkPMXIZu4PoPMjnZZ6jyfFbKhAaE8AlOWtBozklCVRheAehK9CzSHvZnkk8K czb74/oMM0iO3ZqTSaOar+C4lYmiSTgocCKNo1+/SozcpltwXiOl9WmJv/iclw6lVIwnR8bsTVHC/ Gfk6o/Z1X0zrEYwqzMIm/1F/M07a32o/4i83b4iQjiRuSuiCxY5FVIxttNyCygudd1Djz4EGQUa6p zITnsVExJ5bgfFAs4b7rf3JG0rqHI9mcC98AA7TXW88AzbOtscZVf8Qmx2EI3f3fWX+WXjRg4Ba1f HOHH5guQ==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEZVn-00A8Vj-Jk; Mon, 31 Jan 2022 16:26:40 +0000 Message-ID: Date: Mon, 31 Jan 2022 08:26:36 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2] usb: typec: mux: select not-visible INTEL_SCU_IPC Content-Language: en-US To: Heikki Krogerus Cc: linux-kernel@vger.kernel.org, Mika Westerberg , Lee Jones , linux-usb@vger.kernel.org, Greg Kroah-Hartman , kernel test robot References: <20220130185032.29298-1-rdunlap@infradead.org> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/31/22 00:42, Heikki Krogerus wrote: > On Sun, Jan 30, 2022 at 10:50:32AM -0800, Randy Dunlap wrote: >> Use "select INTEL_SCU_IPC" instead of depending on it since it is >> not a visible Kconfig symbol and it may not otherwise be set/enabled. >> >> Fixes: b62851491a55 ("usb: typec: mux: Convert the Intel PMC Mux driver to use new SCU IPC API") >> Signed-off-by: Randy Dunlap >> Cc: Heikki Krogerus >> Cc: Mika Westerberg >> Cc: Lee Jones >> Cc: linux-usb@vger.kernel.org >> Cc: Greg Kroah-Hartman >> Cc: kernel test robot >> --- >> v2: add dependency on X86_PLATFORM_DEVICES to fix build error that was >> Reported_by: kernel test robot >> >> drivers/usb/typec/mux/Kconfig | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> --- linux-next-20220128.orig/drivers/usb/typec/mux/Kconfig >> +++ linux-next-20220128/drivers/usb/typec/mux/Kconfig >> @@ -11,8 +11,8 @@ config TYPEC_MUX_PI3USB30532 >> >> config TYPEC_MUX_INTEL_PMC >> tristate "Intel PMC mux control" >> - depends on ACPI >> - depends on INTEL_SCU_IPC >> + depends on ACPI && X86_PLATFORM_DEVICES >> + select INTEL_SCU_IPC >> select USB_ROLE_SWITCH >> help >> Driver for USB muxes controlled by Intel PMC FW. Intel PMC FW can > > This will cause the driver to fail at probe time if there are no SCU > device drivers enabled. > > The idea is that the SCU device drivers select the SCU IPC library, > not the users of the library like this mux driver. OK. Thanks. -- ~Randy