OSDN Git Service

Bluetooth: bluecard: blink LED during continuous activity
authorOndrej Zary <linux@rainbow-software.org>
Mon, 7 Aug 2017 17:35:49 +0000 (19:35 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 7 Aug 2017 17:42:07 +0000 (19:42 +0200)
commitc7ab7330f040a6f792e384c381629072ceb82766
treeada89db7b2bb5507dba04bbbdc6dec13d2fb812f
parent859d2351172482c5bf5b727b1fe10d98ba334fd6
Bluetooth: bluecard: blink LED during continuous activity

Currently the activity LED is solid on during continuous activity.
Blink the LED during continuous activity to match Windows driver
behavior.

Cards with activity LED:
power LED = solid on when up, off when down
activity LED = blinking during activity, off when idle

Cards without activity LED:
power LED = solid on when up, off when down, blinking during activity
(don't have such a card so I don't know if Windows driver does the same
thing)

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/bluecard_cs.c