Messages in this thread | | | Date | Tue, 26 Jun 2018 13:49:09 -0700 | From | Matthias Kaehlcke <> | Subject | Re: [PATCH] Bluetooth: hci_qca: Replace open-coded msleep() |
| |
On Tue, Jun 26, 2018 at 10:06:54AM -0700, Stephen Boyd wrote: > These three lines make up what msleep() already does, i.e. setting the > task to uninterruptible, sleeping for so many jiffies, and then > schedule() already puts the task state back to TASK_RUNNING when it > returns. Make things clearer by just calling msleep() instead. > > Cc: Thierry Escande <thierry.escande@linaro.org> > Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-off-by: Matthias Kaehlcke <mka@chromium.org>
| |