Revert "Staging: panel: usleep_range is preferred over udelay"
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Sat, 23 Jan 2016 09:19:20 +0000 (14:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jan 2016 06:26:18 +0000 (22:26 -0800)
commitb64a1cbef6df47c986ad622b5b2e4d3d1940070c
treef9d02f5c3de2a6cd13b6c95bc0dbc2d258e9896d
parentf744c423cacf8f9666d0390e5068813afff756e5
Revert "Staging: panel: usleep_range is preferred over udelay"

This reverts commit ebd43516d3879f882a403836bba8bc5791f26a28.

We should not be sleeping inside spin_lock.

Fixes: ebd43516d387 ("Staging: panel: usleep_range is preferred over udelay")
Cc: Sirnam Swetha <theonly.ultimate@gmail.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Reported-by: Huang, Ying <ying.huang@intel.com>
Tested-by: Huang, Ying <ying.huang@intel.com>
Cc: stable <stable@vger.kernel.org> # 4.4
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/panel/panel.c