[PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled
From: shawnguo@kernel.org (Shawn Guo)
Date: 2016-04-18 01:58:38
Also in:
linux-clk, lkml
From: shawnguo@kernel.org (Shawn Guo)
Date: 2016-04-18 01:58:38
Also in:
linux-clk, lkml
On Fri, Apr 15, 2016 at 06:00:53PM -0700, Stephen Boyd wrote:
On 01/29, Stefan Agner wrote:quoted
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.
Yes, I'm picking them up. Shawn