[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180626204909.GP129942@google.com>
Date: Tue, 26 Jun 2018 13:49:09 -0700
From: Matthias Kaehlcke <mka@...omium.org>
To: Stephen Boyd <swboyd@...omium.org>
Cc: Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
linux-kernel@...r.kernel.org, linux-bluetooth@...r.kernel.org,
linux-arm-msm@...r.kernel.org,
Thierry Escande <thierry.escande@...aro.org>
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@...aro.org>
> Signed-off-by: Stephen Boyd <swboyd@...omium.org>
Reviewed-off-by: Matthias Kaehlcke <mka@...omium.org>
Powered by blists - more mailing lists