android_kernel_xiaomi_sm8350/arch/powerpc/sysdev/qe_lib
Timur Tabi f49156ea1b 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>
2009-06-23 08:09:41 -05:00
..
gpio.c
Kconfig
Makefile
qe_ic.c
qe_ic.h
qe_io.c
qe.c powerpc/qe: add polling timeout to qe_issue_cmd() 2009-06-23 08:09:41 -05:00
ucc_fast.c
ucc_slow.c
ucc.c
usb.c