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


Groups > linux.kernel > #1316662

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

From Thierry Reding <thierry.reding@gmail.com>
Newsgroups linux.kernel
Subject Re: [Patch V2 5/9] clk: tegra: pll: Fix potential sleeping-while-atomic
Date 2016-01-25 13:50 +0100
Message-ID <qUOKN-3WU-55@gated-at.bofh.it> (permalink)
References <qQVKO-37Q-3@gated-at.bofh.it> <qQVKO-37Q-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web