aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/uart401.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/uart401.c')
-rw-r--r--sound/oss/uart401.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sound/oss/uart401.c b/sound/oss/uart401.c
index 5433c6f5eca2..62b8869f5a4c 100644
--- a/sound/oss/uart401.c
+++ b/sound/oss/uart401.c
@@ -274,19 +274,12 @@ static int reset_uart401(uart401_devc * devc)
274 } 274 }
275 } 275 }
276 276
277 277 /* Flush input before enabling interrupts */
278 if (ok) 278 if (ok)
279 { 279 uart401_input_loop(devc);
280 DEB(printk("Reset UART401 OK\n"));
281 }
282 else 280 else
283 DDB(printk("Reset UART401 failed - No hardware detected.\n")); 281 DDB(printk("Reset UART401 failed - No hardware detected.\n"));
284 282
285 if (ok)
286 uart401_input_loop(devc); /*
287 * Flush input before enabling interrupts
288 */
289
290 return ok; 283 return ok;
291} 284}
292 285