Thread (5 messages) 5 messages, 3 authors, 2009-06-17

Re: [PATCH 2/2] [PATCH 2/2 v2] qe: add polling timeout to qe_issue_cmd()

From: Kumar Gala <hidden>
Date: 2009-06-17 00:01:37

On May 26, 2009, at 10:21 AM, Timur Tabi wrote:
The qe_issue_cmd() function (Freescale PowerPC QUICC Engine library)  
polls on
a register until a status bit changes, but does not include a  
timeout to
handle the situation if the bit never changes.  Change the code to  
use the new
spin_event_timeout() macro, which simplifies polling on a register  
without
a timeout.

Signed-off-by: Timur Tabi <redacted>
---

This patch depends on my previous patch, "powerpc: introduce macro
spin_event_timeout()".

arch/powerpc/sysdev/qe_lib/qe.c |    9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
applied to next

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