Received: by 10.192.245.15 with SMTP id i15csp932216imn; Sat, 10 Mar 2018 13:17:14 -0800 (PST) X-Google-Smtp-Source: AG47ELtLuhtHFBCgrzo09tuiRJHYHsDtF/CHSN+FJW75IUqtcpi7jjLVdtPQ8hMiEs1MFNl6W73p X-Received: by 2002:a17:902:7d17:: with SMTP id z23-v6mr3118568pll.237.1520716633972; Sat, 10 Mar 2018 13:17:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520716633; cv=none; d=google.com; s=arc-20160816; b=UKkMrrpGJ6IgMHLpx0MI5O2NxMviSi0BpTZb/cc5/rC01Agu4MrToMDrV2zbcB4zfB 1fzOYX62Kh6x+lffYshQy5LCgW6KgsqYy3u5xQ5hmVqyHMy92fMzH8eypkMD7O7y8xoz KgOCJJlGUIGh9e+l5cVQHPyww25WJpy5+HPrzHVl4teuGjVkRpDes/ayHcQwDmJBHoEJ bBXsbFqYbDDCWPqbyEGuNYx24Q4HbvTYx+62Uq09uXSNVclEOzJ6ZCmNkAfNJQRXp4Ye esYDxS8ZEPT7MxnDoEhs7M+4G5p3NX8Xi/lngZY/csXgvh7bqAP06UM9XIFrLNcANK74 SBHg== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=3nPiAEvzAgzPBA0LpVMsRLMGAj0wdE4PwKNBco7nyRg=; b=or2mYvCGclJCTRH+w1l1uj9CAnsMNuN8cjhpC7fzIWSwWhbB8f6XUmhvyi4MDZ41GR 1vBlRFD1TruzrVZQP9DoX7SBlrYg34IqxHjCLGpm4aoTCjPTM0hWwP0qMo9lMNbNG8hx lQiFUcUrolPXJNFLXsmZG+HEgDSYjpWupQgbpL7zmhaGrAwgHhd7RVn9m1M8LUlyh+e9 cPe4V+P6OxP2Ko/aOtkauTACrsAIjVicw5on2C6tXyBDGhj5LpgqSrgxk1C0G07DzB3X ZZZQ1qfEenM82rPc07nhy9ntgNRqpc+dfwuWi1k6cRHWCj2JSKYfbMCY76tctocSVzPp CEyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T3qAtoBa; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bi1-v6si2327354plb.97.2018.03.10.13.16.46; Sat, 10 Mar 2018 13:17:13 -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=@gmail.com header.s=20161025 header.b=T3qAtoBa; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751216AbeCJVPP (ORCPT + 99 others); Sat, 10 Mar 2018 16:15:15 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:37945 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751135AbeCJVPN (ORCPT ); Sat, 10 Mar 2018 16:15:13 -0500 Received: by mail-wr0-f193.google.com with SMTP id n7so12097024wrn.5; Sat, 10 Mar 2018 13:15:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=3nPiAEvzAgzPBA0LpVMsRLMGAj0wdE4PwKNBco7nyRg=; b=T3qAtoBaTBQYREHlBfmp3hC/egzSeo3ezw60XH/Sbm2WovqlXRqw/cVpOuAAnaAKEk qry+4kKL+wZ1M/tBJJgC+SU2WcdRpkvvOmjSHrANgZ69BG89/BtILZfzequ9jlORgs6T TLdYzt/bHLTNto2ykrf7/iOrsoeRUFKPhmJAyryLUQh1ZwjepnfdWSk+gS8HKGEl/MbQ LE5O1Ca9Q3ijpvAJD4gkFxblb5W8ECXFoxl0It9vRb/TwJ8BtqBGXYcMn1e/7/1tfI4J 72VTaOJ6iINNCI8EaiCq1GN0qYQqEXMomhotGWfU3uNqztmhVRMs75lx7rQ86BVRNhu0 30YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=3nPiAEvzAgzPBA0LpVMsRLMGAj0wdE4PwKNBco7nyRg=; b=IvSsuITD/R+IfMNrEu78JmNthULlIOjmwpqzQs0dMuYDtuSKuYILbEyJi0MLm0034B eXXOPr3RKkmA9Y14Ut9fkGxNQ4kymkHi8QTs3mw/X5GAbjOuV0GpxwHNaPazO+rlghLD RdV3kKojqI2Tusf23L2GCWmR/lT4iE482X4HoJe7n0VMsPgwrLkdYH6Vb+Gyy9LjGPoH 7KP6Ggs2nhDTEzENzQc8xlTBOOapouLPR+nTHVM1fdR0ppMq5nZmcdiT7W/e4JuxErE2 /UkQCSae1yPVl0MJJqlhDkkQ6Uby17lhy67ZrXNwCMQhcV9l2FyC609Ve+F4/OebI6Wp b7rw== X-Gm-Message-State: AElRT7Gr17/1U6TNSYcKeVFdD5rE7vmgfPXXf644Q+kEN+yGQNK+IYSw 9utN7irdktmu08c2RrscsWjOA4o7 X-Received: by 10.223.178.232 with SMTP id g95mr2474959wrd.35.1520716512003; Sat, 10 Mar 2018 13:15:12 -0800 (PST) Received: from [192.168.1.18] (dly139.neoplus.adsl.tpnet.pl. [83.24.54.139]) by smtp.gmail.com with ESMTPSA id p21sm1741896wmc.0.2018.03.10.13.15.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Mar 2018 13:15:11 -0800 (PST) Subject: Re: [PATCH] leds: fix wrong dmi_match on PC Engines APU LEDs To: Hans Ulli Kroll , Alan Mizrahi , Richard Purdie , Pavel Machek References: <20180305170910.8905-1-ulli.kroll@googlemail.com> Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, "platform-driver-x86@vger.kernel.org" From: Jacek Anaszewski X-Enigmail-Draft-Status: N1110 Message-ID: Date: Sat, 10 Mar 2018 22:13:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20180305170910.8905-1-ulli.kroll@googlemail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hans, Thank you for the patch. On 03/05/2018 06:09 PM, Hans Ulli Kroll wrote: > APU has compared to APU2 no DMI_BOARD_NAME. > Use DMI_PRODUCT_NAME instead. Could we have the commit message more expressive? Is it that now this driver doesn't work for APU board? > Signed-off-by: Hans Ulli Kroll > --- > drivers/leds/leds-apu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/leds/leds-apu.c b/drivers/leds/leds-apu.c > index 74820aab9497..5bbf5c31413e 100644 > --- a/drivers/leds/leds-apu.c > +++ b/drivers/leds/leds-apu.c > @@ -206,7 +206,7 @@ static int __init apu_led_probe(struct platform_device *pdev) > > apu_led->pdev = pdev; > > - if (dmi_match(DMI_BOARD_NAME, "APU")) { > + if (dmi_match(DMI_PRODUCT_NAME, "APU")) { > apu_led->profile = apu1_led_profile; > apu_led->platform = APU1_LED_PLATFORM; > apu_led->num_led_instances = ARRAY_SIZE(apu1_led_profile); > If it fails here, then how it is possible that it succeeds in the apu_led_init() ? -- Best regards, Jacek Anaszewski