diff options
Diffstat (limited to 'sound/drivers/mpu401/mpu401_uart.c')
-rw-r--r-- | sound/drivers/mpu401/mpu401_uart.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/drivers/mpu401/mpu401_uart.c b/sound/drivers/mpu401/mpu401_uart.c index b5c5dd1e61bd..43c6f207c3c2 100644 --- a/sound/drivers/mpu401/mpu401_uart.c +++ b/sound/drivers/mpu401/mpu401_uart.c | |||
@@ -270,8 +270,7 @@ static int snd_mpu401_do_reset(struct snd_mpu401 *mpu) | |||
270 | { | 270 | { |
271 | if (snd_mpu401_uart_cmd(mpu, MPU401_RESET, 1)) | 271 | if (snd_mpu401_uart_cmd(mpu, MPU401_RESET, 1)) |
272 | return -EIO; | 272 | return -EIO; |
273 | if (!(mpu->info_flags & MPU401_INFO_UART_ONLY) && | 273 | if (snd_mpu401_uart_cmd(mpu, MPU401_ENTER_UART, 0)) |
274 | snd_mpu401_uart_cmd(mpu, MPU401_ENTER_UART, 0)) | ||
275 | return -EIO; | 274 | return -EIO; |
276 | return 0; | 275 | return 0; |
277 | } | 276 | } |