Thread (4 messages) 4 messages, 3 authors, 2010-02-24

sleeping clk_[enable,disable]?

From: Linus Walleij <hidden>
Date: 2010-02-23 21:36:40

2010/2/23 Rabin Vincent [off-list ref]:
On Tue, Feb 23, 2010 at 03:32:19PM +0100, Linus Walleij wrote:
quoted
* Throw in udelay():s after the clk_[enable,disable] calls, with some values
? that are unfortunately then spread out in the drivers instead of in the
? clk implementation.
Or you could place the udelay()s inside the clk_* calls themselves. ?See
mach-pxa/clock.c or plat-stmp3xxx/clock.c.
Hm, yeah pxa has a the maximum defined delay 5 us, and stmp3xx has
a maximum of 10 us both probably acceptable delays in a fastpath. So your
system latency requirements control the limit here and in that case ...
perhaps one would better just switch all interrupt handlers where a
clk_enable/disable occurs to threaded anyway just to be on the safe
side. (Just thinking aloud a bit...)

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help