serial: clps711x: Give a chance to perform useful tasks during wait loop
authorAlexander Shiyan <shc_work@mail.ru>
Tue, 11 Mar 2014 11:30:01 +0000 (15:30 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 23:13:24 +0000 (16:13 -0700)
commit63e3ad3252695a2b8c01b6f6c225e4537af08b85
treebd4d67034f7f8b435d9be8c985dcedb9210f17af
parent015355b70e074a8cc11da6ae4f82d45c5160358a
serial: clps711x: Give a chance to perform useful tasks during wait loop

This patch adds cond_sched() calls during wait loop to perform
other tasks.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/clps711x.c