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


Groups > linux.kernel > #1380457

Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled
Date 2016-04-16 03:10 +0200
Message-ID <romUi-3Jk-1@gated-at.bofh.it> (permalink)
References <qWq1A-1yb-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/29, Stefan Agner wrote:
> If a clock gets enabled early during boot time, it can lead to a PLL
> startup. The wait_lock function makes sure that the PLL is really
> stareted up before it gets used. However, the function sleeps which
> leads to scheduling and an error:
> bad: scheduling from the idle thread!
> ...
> 
> Use udelay in case IRQ's are still disabled.
> 
> Signed-off-by: Stefan Agner <stefan@agner.ch>

This is really old. Shawn, are you picking these up? I'm removing
these from my queue for now.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled Stephen Boyd <sboyd@codeaurora.org> - 2016-04-16 03:10 +0200
  Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled Shawn Guo <shawnguo@kernel.org> - 2016-04-18 04:00 +0200

csiph-web