]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/drivers/mpu401/mpu401_uart.c
[ALSA] Add MPU401_INFO_NO_ACK bitflag
[linux-2.6-omap-h63xx.git] / sound / drivers / mpu401 / mpu401_uart.c
index 18cca2457d44c1164978cc2453531396d8b38b0a..2af09996a3d01a39d4b913a23c1d08855ed54f06 100644 (file)
@@ -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) {