Thread (4 messages) flat view 4 messages, 2 authors, 2012-10-30

[RFC] ARM: OMAP: hwmod: wait for sysreset complete after enabling hwmod

From: paul@pwsan.com (Paul Walmsley)
Date: 2012-10-30 03:11:05
Also in: linux-omap

Hi Tero,

On Tue, 23 Oct 2012, Tero Kristo wrote:
Looks good to me. Only reason I pushed the reset wait to the end of the
function was a minimal potential timing optimization. As the beginning
of the function will write a register, it will consume a bit of time
(especially if in 32k domain), so it can maybe save a single register
read in the delay loop if ordered that way.
Ah, OK.
Your way is probably safer, it might cause problems in some cases if the
config is written before reset has completed (can it?)
Not sure, but seems to make sense to wait until the reset is done before 
doing anything to the IP block's registers.  Queuing for 3.7-rc fixes,


- Paul
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help