Re: [PATCH] Bluetooth: hci_qca: Replace open-coded msleep()

From: Matthias Kaehlcke
Date: Tue Jun 26 2018 - 16:49:18 EST


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@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>

Reviewed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>