Revert "serial: clps711x: Give a chance to perform useful tasks during wait loop"
authorAlexander Shiyan <shc_work@mail.ru>
Thu, 27 Mar 2014 09:38:19 +0000 (13:38 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 21:17:44 +0000 (14:17 -0700)
commit2f310b8e418ac5eb3833a9f36791c24a97f1f557
treed3ea8c54020a2f5eedef8eed9e995e7c5c329ef3
parent717f3bbab3c7628736ef738fdbf3d9a28578c26c
Revert "serial: clps711x: Give a chance to perform useful tasks during wait loop"

This reverts commit 63e3ad3252695a2b8c01b6f6c225e4537af08b85,
since this not works as expected and produce runtime error:

BUG: sleeping function called from invalid context at drivers/tty/serial/clps711x.c:379
in_atomic(): 0, irqs_disabled(): 128, pid: 287, name: mount

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