Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux
[deliverable/linux.git] / drivers / tty / synclink_gt.c
index 45b43f11ca3927df3c1c680076c883808f600db9..aa1debf97cc741e3f5914cb5396c8397bd37f362 100644 (file)
@@ -3336,9 +3336,9 @@ static int block_til_ready(struct tty_struct *tty, struct file *filp,
                }
 
                DBGINFO(("%s block_til_ready wait\n", tty->driver->name));
-               tty_unlock(tty);
+               tty_unlock();
                schedule();
-               tty_lock(tty);
+               tty_lock();
        }
 
        set_current_state(TASK_RUNNING);
This page took 0.024261 seconds and 5 git commands to generate.