]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Add combined LED trigger for controller power
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 21 Jul 2016 12:12:41 +0000 (14:12 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commite64c97b53bc6727aa4385535166aaa047281e02d
tree6fae09aba7074eefce0b49b31dca5db676daccd4
parent53f863a66904542b03204f2b115d050b04c11ba5
Bluetooth: Add combined LED trigger for controller power

Instead of just having a LED trigger for power on a specific controller,
this adds the LED trigger "bluetooth-power" that combines the power
states of all controllers into a single trigger. This simplifies the
trigger selection and also supports multiple controllers per host
system via a single LED.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/af_bluetooth.c
net/bluetooth/leds.c
net/bluetooth/leds.h