diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-10-12 19:10:24 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-12 14:16:19 +0200 |
commit | e65e2cb99e44704f63b76e4395092b0533bef88b (patch) | |
tree | b09144d2b84fabb0adb84c0bf5e90debb4d96447 /sound/firewire/tascam/tascam.h | |
parent | 0db18e7eec40a4331214185b37b0440856856775 (diff) | |
download | linux-rt-e65e2cb99e44704f63b76e4395092b0533bef88b.tar.gz |
ALSA: firewire-tascam: Turn on/off FireWire LED
TASCAM FireWire series has some LEDs on its surface. These LEDs can be
turned on/off by receiving asynchronous transactions to a certain
address. One of the LEDs is labels as 'FireWire'. It's better to light it
up when this driver starts to work. Besides, the LED for 'FireWire' is
turned off at bus reset.
This commit implements this idea.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/tascam/tascam.h')
-rw-r--r-- | sound/firewire/tascam/tascam.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/firewire/tascam/tascam.h b/sound/firewire/tascam/tascam.h index b86bb7f4f01d..2d028d2bd3bd 100644 --- a/sound/firewire/tascam/tascam.h +++ b/sound/firewire/tascam/tascam.h @@ -101,6 +101,8 @@ struct snd_tscm { #define TSCM_OFFSET_MIDI_TX_ADDR_HI 0x0304 #define TSCM_OFFSET_MIDI_TX_ADDR_LO 0x0308 +#define TSCM_OFFSET_LED_POWER 0x0404 + #define TSCM_OFFSET_MIDI_RX_QUAD 0x4000 enum snd_tscm_clock { |