From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933656AbdBPWMa (ORCPT ); Thu, 16 Feb 2017 17:12:30 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35279 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933157AbdBPWM1 (ORCPT ); Thu, 16 Feb 2017 17:12:27 -0500 Subject: Re: [PATCH v2 0/6] Move dell-led to drivers/platform/x86 To: =?UTF-8?B?TWljaGHFgiBLxJlwaWXFhA==?= , Alex Hung , Pavel Machek References: <20170116132204.6421-1-kernel@kempniu.pl> <20170213112640.GA1188@ozzy.nask.waw.pl> <20170215135455.GA2014@ozzy.nask.waw.pl> <20170216092747.GA1350@ozzy.nask.waw.pl> <20170216113258.GD1350@ozzy.nask.waw.pl> Cc: Jaroslav Kysela , Takashi Iwai , Anthony Wong , Richard Purdie , =?UTF-8?Q?Pali_Roh=c3=a1r?= , Darren Hart , Andy Shevchenko , Linux LED Subsystem , "platform-driver-x86@vger.kernel.org" , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org From: Jacek Anaszewski Message-ID: Date: Thu, 16 Feb 2017 23:11:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170216113258.GD1350@ozzy.nask.waw.pl> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michał, On 02/16/2017 12:32 PM, Michał Kępień wrote: >> The led stops working after 4th patch "platform/x86: dell-laptop: >> import dell_micmute_led_set() from drivers/leds/dell-led.c", and the >> .config is with CONFIG_DELL_LAPTOP=m >> >> However, I found dell-laptop is not loaded on Latitude 7480 as its >> chassis type is Notebook (10), instead of 8 (Portable) or 9 (Laptop). >> That's also what I see for newer Dell laptops. >> >> After I added the below entry into dell-laptop, the led works fine. >> This is not in kernel 4.10 rc8 either, and I will submit a patch for >> it. >> >> { >> .matches = { >> DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), >> DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /*Notebook*/ >> }, >> }, > > Great, so it all makes sense now. Thanks once again for investigating. > > For maintainers' convenience, I am planning to submit a v3 with all the > tags supplied by everyone who reviewed this series and also some minor > coding style tweaks suggested along the way. > > Alex, in the light of your findings quoted above, would it be okay to > also apply your Tested-by to all patches? > > Jacek, Pavel, which linux-leds branch would you like me to base v3 on? Please use for-next branch for that. -- Best regards, Jacek Anaszewski