Re: [Patch V2 5/9] clk: tegra: pll: Fix potential sleeping-while-atomic
From: Thierry Reding
Date: Mon Jan 25 2016 - 07:41:42 EST
On Thu, Jan 14, 2016 at 02:24:34PM -0500, Rhyland Klein wrote:
> From: Andrew Bresticker <abrestic@xxxxxxxxxxxx>
>
> Since the ->enable() callback is called with a spinlock held, we cannot
> call potentially blocking functions such as clk_get_rate() or
> clk_get_parent(), so use the unlocked versions instead.
>
> Signed-off-by: Andrew Bresticker <abrestic@xxxxxxxxxxxx>
> [rklein: Adapted from ChromeOS patch, removing pllu_enable cleanup as
> it isn't present upstream]
> Signed-off-by: Rhyland Klein <rklein@xxxxxxxxxx>
> ---
> drivers/clk/tegra/clk-pll.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied, thanks.
Thierry
Attachment:
signature.asc
Description: PGP signature