[PATCH 2/2] [PATCH 2/2 v2] qe: add polling timeout to qe_issue_cmd()
Kumar Gala
galak at kernel.crashing.org
Wed Jun 17 09:58:58 EST 2009
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 <timur at freescale.com>
> ---
>
> 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
More information about the Linuxppc-dev
mailing list