Hi Heiner, > Add support for LED triggers to the bluetooth core and add kernel config > symbol BT_LEDS for it. > For now one trigger for indicating "HCI is powered up" is supported. > > Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx> > --- > v2: > - completely rewrote the code to be as generic as possible and minimize > the changes to struct hci_dev > - make the details of the LED triggers opaque to struct hci_dev > - avoid using ifdef CONFIG_BT_LEDS in hci_core.h > - start with the radio trigger only > - factor out the generic basic led trigger code to facilitate adding > further basic LED triggers > - fix indentation in Kconfig > - rename led.[ch] to leds.[ch] > v3: > - use term power instead of radio > - rename hci_led_ to hci_leds_ > - remove the counter > - use IS_ENABLED for checking the config option > v4: > - rework commit message > - shorten static function names > - remove empty line at end of file > --- > include/net/bluetooth/hci_core.h | 3 ++ > net/bluetooth/Kconfig | 9 +++++ > net/bluetooth/Makefile | 1 + > net/bluetooth/hci_core.c | 8 ++++ > net/bluetooth/leds.c | 80 ++++++++++++++++++++++++++++++++++++++++ > net/bluetooth/leds.h | 18 +++++++++ > 6 files changed, 119 insertions(+) > create mode 100644 net/bluetooth/leds.c > create mode 100644 net/bluetooth/leds.h patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html