git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] Add MPU401_INFO_NO_ACK bitflag
[pandora-kernel.git]
/
sound
/
drivers
/
mpu401
/
mpu401_uart.c
diff --git
a/sound/drivers/mpu401/mpu401_uart.c
b/sound/drivers/mpu401/mpu401_uart.c
index
18cca24
..
2af0999
100644
(file)
--- a/
sound/drivers/mpu401/mpu401_uart.c
+++ b/
sound/drivers/mpu401/mpu401_uart.c
@@
-243,7
+243,7
@@
static int snd_mpu401_uart_cmd(struct snd_mpu401 * mpu, unsigned char cmd,
#endif
}
mpu->write(mpu, cmd, MPU401C(mpu));
- if (ack) {
+ if (ack
&& !(mpu->info_flags & MPU401_INFO_NO_ACK)
) {
ok = 0;
timeout = 10000;
while (!ok && timeout-- > 0) {