diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-02-22 18:07:21 +0300 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 18:55:43 +0400 |
commit | 8f7ba051d2abb3d3bde9b95e47246c60b704d2b4 (patch) | |
tree | 6b1fcd728b520ca24c99672c873ed17b43ac3b9f /include/sound/mpu401.h | |
parent | 76e630677419ecf2cf8c0b738536eee34dc048e6 (diff) | |
download | linux-8f7ba051d2abb3d3bde9b95e47246c60b704d2b4.tar.xz |
[ALSA] mpu401 - Add MPU401_INFO_UART_ONLY bitflag
Added MPU401_INFO_UART_ONLY bitflag to avoid issueing UART_ENTER command
at opening streams. Some devices support only UART mode and give errors
to UART_ENTER.
A new module option, uart_enter, is added to snd-mpu401 driver.
For UART-only devices, set uart_enter=0.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/sound/mpu401.h')
-rw-r--r-- | include/sound/mpu401.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/mpu401.h b/include/sound/mpu401.h index 8c88267e9bea..d5c1396c4c9e 100644 --- a/include/sound/mpu401.h +++ b/include/sound/mpu401.h @@ -50,6 +50,7 @@ #define MPU401_INFO_INTEGRATED (1 << 2) /* integrated h/w port */ #define MPU401_INFO_MMIO (1 << 3) /* MMIO access */ #define MPU401_INFO_TX_IRQ (1 << 4) /* independent TX irq */ +#define MPU401_INFO_UART_ONLY (1 << 5) /* No ENTER_UART cmd needed */ #define MPU401_MODE_BIT_INPUT 0 #define MPU401_MODE_BIT_OUTPUT 1 |