Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5745509imb; Fri, 8 Mar 2019 01:05:49 -0800 (PST) X-Google-Smtp-Source: APXvYqy2fsvoMqHaIx5YLtITdQQE3Ye9sy3sbNQegMHBk2XFTDnmtgg7o7N5mg8ks/YojYukqvY7 X-Received: by 2002:a17:902:4203:: with SMTP id g3mr17313445pld.99.1552035949145; Fri, 08 Mar 2019 01:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552035949; cv=none; d=google.com; s=arc-20160816; b=aSmZV0o+lDmYl/Gl9V7KN0YD/FkZQXMTRLbKmtoyfNnFIVfaQGcE1NPYu5WnWe6tBc B0xqyoLM+dFvaLxKCD0z4bA3CPMWFdHd6Fzew17qGG8EuxVu95UGt0VaIWA+a0tcrMM+ vU8L/2VzeI5vFo9wfIewJUvYC6KH9QmNJ94xWYQtCN3r/LCSGWabT9ir8mgxsE8PaYxM Wbo8UHQwQIy2x10DFTiNEMoykLHOcmCiPwnYFf5RqtRt0u/CdSS4sm/a7BWjyVLjI3VU 0gR2qIQ30AAAkqEieD7RQELn3xEaGc+QgYnKsPhkmSPx5FsqOZs2pXjqJUi7+dMorBQN qZIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=I8XLCkAQdguZY+t3BmFOlDA8KX8vPy9XQgX5ClXaAAA=; b=CgvAsSvgUsUdEzsIV8NQt/+FTq/w2AH4Gn7Kb283IEwsPrkg4eeZXYB6PzsFObn0oC TpbYIuYLvLIKrJ3FGga1opC6m6URpwoInLGmtOEZOeK5rU7gwQzig7T2x3xFKOxLsuOX a//qJqxouGpAKHtWul+n0tV9KZhB0b68QbuX0jmLIH2G+ZQmKpB4G3koqlarwNExRJ75 wFEdf4yP4HqXwPpqlrfNKzpYkPSYKfab3pmhofN26fbasLluDZZ49apkJDU3Pb57qpGs 2sGfUlLBWZ3ksA1Q73nBkQ8hlrBW/CZRisUKuIBae5luJkwc1QU/K1oIqnjDjMkHh1o2 ctPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fZesSELg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n14si5878597pgv.520.2019.03.08.01.05.33; Fri, 08 Mar 2019 01:05:49 -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=pass header.i=@linaro.org header.s=google header.b=fZesSELg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726297AbfCHJFO (ORCPT + 99 others); Fri, 8 Mar 2019 04:05:14 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:37216 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725975AbfCHJFO (ORCPT ); Fri, 8 Mar 2019 04:05:14 -0500 Received: by mail-lf1-f66.google.com with SMTP id u2so6820147lfd.4 for ; Fri, 08 Mar 2019 01:05:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I8XLCkAQdguZY+t3BmFOlDA8KX8vPy9XQgX5ClXaAAA=; b=fZesSELgHscEHPQSIzXtEthnb0NCMwH3MjmgbrqBbDnZrHKK8Pv4D0bvUO1K974ty5 kNMsnMu5bML0QP5Q13jDbXYXuk6tHmZzhyg2NCjxBO/1xA2PRj0EO0HeH2726Un/1v+x vs1iWPFT86kvFHATvLE9QHBXhbNjppISw+0pHvXWBbjgcD/Qm6kbCxke4gwKyq420JaZ F0u49/Yei1NZMbspNLmrU4M33zs10ihOHXvR/aPVvFqVgYSvVSEYtytDXe7FQlBmR00f tK4kxfeT00OSn32ZHW89JMe0dqIqKf4tZHlJHPIbRz3SlfPoRlbmq6d8ySgOi2GFEOEC dYNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I8XLCkAQdguZY+t3BmFOlDA8KX8vPy9XQgX5ClXaAAA=; b=a+MUnGseB7zcmyYqm1NIR/dyoiD7u7o/YfQ/1FupEKWu7WYHjaZogj1v/iBUjZ5Jwl fjZV6QEqqLQOeNaq2cOBhDoECdtDN2EsGqZ8AlwDkDAN+whQKoBD1tr3Yt4C7UPYG8b5 HLWQI+caNBhL3i8OjIWn22DeAbuj9SQWwqRfhMX+gnajQyeB9gKw6fUvgfFlMpFIuEjw vsD+0IcUwWcLLvyzSGuKrwFXyae8vD3de04ZliTBzvRagZmbF2886BxoHthhoOljueQw wGXT945/XOAQQoxMQC+67SwMCRi7kZDVR2rwOgQVlACBFktJgePLNBPuq5E0PSG6yEN6 Cx+Q== X-Gm-Message-State: APjAAAVvCOOakP2rZyIYUjp6kmEJialZIar/W56E8La9LN8ZkXSIntbo x47FzylMnAxWkCWIDr+fTxw9n6oSsWPxEdLOcIkSknpt X-Received: by 2002:ac2:533b:: with SMTP id f27mr3547596lfh.8.1552035912254; Fri, 08 Mar 2019 01:05:12 -0800 (PST) MIME-Version: 1.0 References: <20190304201930.1622839-1-arnd@arndb.de> <20190304201930.1622839-3-arnd@arndb.de> <24c191e1-f607-1320-2474-3db92383e383@metux.net> In-Reply-To: From: Linus Walleij Date: Fri, 8 Mar 2019 10:05:00 +0100 Message-ID: Subject: Re: [PATCH 3/3] x86: apuv2: select LEDS_CLASS To: Randy Dunlap Cc: "Enrico Weigelt, metux IT consult" , Arnd Bergmann , Darren Hart , Andy Shevchenko , Linus Walleij , Enrico Weigelt , Andy Shevchenko , "open list:GPIO SUBSYSTEM" , platform-driver-x86 , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 5, 2019 at 1:09 AM Randy Dunlap wrote: > 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 I applied Randy's more extensive patch. Yours, Linus Walleij