Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2848477imb; Mon, 4 Mar 2019 16:09:50 -0800 (PST) X-Google-Smtp-Source: APXvYqzq166X+bevPxbfWPnHdLYOKSpI5i52VNJHZLy7pWs5b2+7MEcngZoq6YYKvLyuhl+l4JNU X-Received: by 2002:a17:902:3283:: with SMTP id z3mr6730749plb.155.1551744590319; Mon, 04 Mar 2019 16:09:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551744590; cv=none; d=google.com; s=arc-20160816; b=NWCLuxfBjGu8Fp7ujVnNZP+C0BFdZC/xhhdrly+FaivG77iF2Hvdj2goWs6cnDwehs lmswpAgxaiqgR5N+9+oZsf/tYBbPg2Nti5ZMICz31RBHvUub/D1cspMfPjQma1U21pyV lzPUbjH9sm3kTvmNhmMl3JCDWdEUOv83cG6dE5FPitW5vt3qoesw7V7CXXk9M8+kYgJZ 4JDznmR56+EoDrGp62VdOBMiDRbli2rdg34KVeC2d3D1rEIJNpPrBXpO50ND1NMSlYXX HF/CF9qzrrIiSYY8GJ+UdOQhD18xkzc4J/A2xetN8hH6zL35cFkU0wVgM1CaMaJDQAnP FhTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=eoj9pOY4iQ5+Pipyb8CxFtPlpusxpsKNR/L48Welrc4=; b=nr7E5kjp18UJpeqoUzXjmQVEPd+/SrnKCdCkIkVsVOR4PJpHSH+6YOW6Ltht0N5fkZ MvkTsp+he3oXVl7jYkKn82DCvSt6Jt2fJ/8xaeew/OAhEQyAWdZ3ZQhtRcsmzh4z2ycF oYf+WbVz/+pjo24XdSQ9Rw965rc2/1FiDOOsFd42n0+jfg4qgFJbklwYlfj+dak2UJCa KqapuTGZK+LhsX4UOGavFTZ0FanDL8DODxUV8NZn7v392WbJpSd4SiP2Ov/34CCbeHfm a7F/wndAvNqkFfWvoubQOe8sWq/9VxKVbWv3SmSTIabAwlbh0/bUDOoZ+r9/Ggo/6zfe pl2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=tDMvnmOq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i63si4007234pfb.171.2019.03.04.16.09.35; Mon, 04 Mar 2019 16:09:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=tDMvnmOq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726782AbfCEAJP (ORCPT + 99 others); Mon, 4 Mar 2019 19:09:15 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:44448 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726683AbfCEAJN (ORCPT ); Mon, 4 Mar 2019 19:09:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eoj9pOY4iQ5+Pipyb8CxFtPlpusxpsKNR/L48Welrc4=; b=tDMvnmOq/jiq1cnbsHnWdvI9/ npqNcAGNu4Hcx3xPdCYc3ZcfL1PEOG30krsf9Ziz05+1f+G3GRXH9pQNoUE8RpKGFTxhURs6UpDRB wZ2+HxuF0UgHfPgtmIXFtDZVzcTRoTipC7dNRp+p/zcbC9/3b1CesTxn+tYsEgMoquI2LtuB9LFoa lGF6WO72Ky8Cp+SkSI/Alj7Y5ahLsR6eqEr2OvaI5WiNKyvLsPjFA8eBXbjOijoIh17r/RDvLupy6 kHQXftKSjpLw7Izqz0XQ0ihyfOn22SDAjaM1tubWAxBmExo7tB8qf8nhxrjxSChmwq1hKfaNZsLKK o0VmKborw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0xdv-0000Ef-Et; Tue, 05 Mar 2019 00:09:11 +0000 Subject: Re: [PATCH 3/3] x86: apuv2: select LEDS_CLASS To: "Enrico Weigelt, metux IT consult" , Arnd Bergmann , Darren Hart , Andy Shevchenko Cc: Linus Walleij , Enrico Weigelt , Andy Shevchenko , linux-gpio@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190304201930.1622839-1-arnd@arndb.de> <20190304201930.1622839-3-arnd@arndb.de> <24c191e1-f607-1320-2474-3db92383e383@metux.net> From: Randy Dunlap Message-ID: Date: Mon, 4 Mar 2019 16:09:08 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <24c191e1-f607-1320-2474-3db92383e383@metux.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/4/19 4:03 PM, Enrico Weigelt, metux IT consult wrote: > On 04.03.19 21:19, Arnd Bergmann wrote: >> LEDS_GPIO can only be selected when LEDS_CLASS is already enabled: >> >> WARNING: unmet direct dependencies detected for LEDS_GPIO >> Depends on [m]: NEW_LEDS [=y] && LEDS_CLASS [=m] && (GPIOLIB [=y] || COMPILE_TEST [=y]) >> Selected by [y]: >> - PCENGINES_APU2 [=y] && X86 [=y] && X86_PLATFORM_DEVICES [=y] && INPUT_KEYBOARD [=y] >> >> Fixes: f8eb0235f659 ("x86: pcengines apuv2 gpio/leds/keys platform driver") >> Signed-off-by: Arnd Bergmann >> --- >> drivers/platform/x86/Kconfig | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig >> index 4d65d37b0c86..d64529352a9c 100644 >> --- a/drivers/platform/x86/Kconfig >> +++ b/drivers/platform/x86/Kconfig >> @@ -1308,6 +1308,7 @@ config PCENGINES_APU2 >> depends on INPUT && INPUT_KEYBOARD >> select GPIO_AMD_FCH >> select KEYBOARD_GPIO_POLLED >> + select LEDS_CLASS >> select LEDS_GPIO >> help >> This driver provides support for the front button and LEDs on >> > > ACK. Just was about to post the same :) > > Reviewed-by: Enrico Weigelt, metux It consult > Enrico, you were also cc-ed on this patch on Feb.25, 2019: https://marc.info/?l=linux-kernel&m=155113875310485&w=2 > > thx. > > --mtx > -- ~Randy