Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1316662 > unrolled thread

Re: [Patch V2 5/9] clk: tegra: pll: Fix potential sleeping-while-atomic

Started byThierry Reding <thierry.reding@gmail.com>
First post2016-01-25 13:50 +0100
Last post2016-01-25 13:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Patch V2 5/9] clk: tegra: pll: Fix potential  sleeping-while-atomic Thierry Reding <thierry.reding@gmail.com> - 2016-01-25 13:50 +0100

#1316662 — Re: [Patch V2 5/9] clk: tegra: pll: Fix potential sleeping-while-atomic

FromThierry Reding <thierry.reding@gmail.com>
Date2016-01-25 13:50 +0100
SubjectRe: [Patch V2 5/9] clk: tegra: pll: Fix potential sleeping-while-atomic
Message-ID<qUOKN-3WU-55@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Thu, Jan 14, 2016 at 02:24:34PM -0500, Rhyland Klein wrote:
> From: Andrew Bresticker <abrestic@chromium.org>
> 
> 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@chromium.org>
> [rklein: Adapted from ChromeOS patch, removing pllu_enable cleanup as
> it isn't present upstream]
> Signed-off-by: Rhyland Klein <rklein@nvidia.com>
> ---
>  drivers/clk/tegra/clk-pll.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Thierry

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web