From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH 1/6] leds: trigger: Introduce audio mute LED trigger Date: Tue, 27 Nov 2018 12:04:37 +0100 Message-ID: References: <20181126171126.20280-1-tiwai@suse.de> <20181126171126.20280-2-tiwai@suse.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Andy Shevchenko Cc: ALSA Development Mailing List , Ayman Bagabas , Platform Driver , Hui Wang , ibm-acpi-devel@lists.sourceforge.net, Jacek Anaszewski , Pavel Machek , Pali =?UTF-8?B?Um9ow6Fy?= , Andy Shevchenko , Linux LED Subsystem List-Id: platform-driver-x86.vger.kernel.org On Mon, 26 Nov 2018 23:58:36 +0100, Andy Shevchenko wrote: > > On Mon, Nov 26, 2018 at 7:14 PM Takashi Iwai wrote: > > > > This patch adds a new LED trigger for coupling the audio mixer change > > with the LED on laptops or other devices. Currently there are two > > trigger types, "audio-mute" and "audio-micmute". > > > > The audio driver triggers the LED brightness change via > > ledtrig_audio_set() call with the proper type (either mute or > > mic-mute). OTOH, the consumers may call ledtrig_audio_get() for the > > initial brightness value that may have been set by the audio driver > > beforehand. > > > > This new stuff will be used by HD-audio codec driver and some platform > > drivers (thinkpad_acpi and dell-laptop, also upcoming huawei-wmi). > > > +#include > > > +#include > > Only on of above is needed, I think you meant module.h. Right, dropped init.h inclusion. Also sorted now. thanks, Takashi