From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754494AbdBPLdK (ORCPT ); Thu, 16 Feb 2017 06:33:10 -0500 Received: from mail-lf0-f66.google.com ([209.85.215.66]:34625 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752926AbdBPLdI (ORCPT ); Thu, 16 Feb 2017 06:33:08 -0500 Date: Thu, 16 Feb 2017 12:32:58 +0100 From: =?utf-8?B?TWljaGHFgiBLxJlwaWXFhA==?= To: Alex Hung , Jacek Anaszewski , Pavel Machek Cc: Jaroslav Kysela , Takashi Iwai , Anthony Wong , Richard Purdie , Pali =?utf-8?B?Um9ow6Fy?= , Darren Hart , Andy Shevchenko , Linux LED Subsystem , "platform-driver-x86@vger.kernel.org" , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/6] Move dell-led to drivers/platform/x86 Message-ID: <20170216113258.GD1350@ozzy.nask.waw.pl> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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? -- Best regards, Michał Kępień