diff options
author | Timur Tabi <timur@freescale.com> | 2009-05-26 17:21:42 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-06-23 15:09:41 +0200 |
commit | f49156ea1bf3bccf45a01351cf3db2b5f6a8597e (patch) | |
tree | 804ab76e9cdb81850249e6ca82f9c7331ba775a5 /drivers/thermal/thermal_sys.c | |
parent | Merge commit 'gcl/merge' into next (diff) | |
download | linux-f49156ea1bf3bccf45a01351cf3db2b5f6a8597e.tar.xz linux-f49156ea1bf3bccf45a01351cf3db2b5f6a8597e.zip |
powerpc/qe: add polling timeout to qe_issue_cmd()
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@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/thermal/thermal_sys.c')
0 files changed, 0 insertions, 0 deletions