leds: ledtrig-sound: provide indication of muted microphone

Ok, what about something like this?

Tested, and it did not work. I guess I hooked it up at the wrong place
in LED subsystem... or maybe thinkpad x60 is wrong machine to test on.

Anyway, it looks less ugly than current code in alsa. We should not
really be using mixer settings to turn LED on and off.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

Cc: linux-leds@vger.kernel.org, jacek.anaszewski@gmail.com
Cc: Takashi Iwai <tiwai@suse.de>, Andy Shevchenko
<andy.shevchenko@gmail.com>, Platform Driver
<platform-driver-x86@vger.kernel.org>
5 files changed