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 powerpc/qe: Implement QE Pin Multiplexing API 2008-12-30 11:13:43 -06:00
Kconfig powerpc/qe: Select QE_USB with USB_GADGET_FSL_QE 2008-12-30 12:12:12 -06:00
Makefile powerpc/QE: implement support for the GPIO LIB API 2008-06-10 11:11:10 -05:00
qe_ic.c
qe_ic.h
qe_io.c powerpc/QE: prepare QE PIO code for GPIO LIB support 2008-06-10 10:39:18 -05:00
qe.c powerpc/qe: add polling timeout to qe_issue_cmd() 2009-06-23 08:09:41 -05:00
ucc_fast.c powerpc: fix memory leaks in QE library 2008-08-20 23:58:12 -05:00
ucc_slow.c powerpc: fix memory leaks in QE library 2008-08-20 23:58:12 -05:00
ucc.c powerpc/qe: Move cmxgcr_lock definition from the ucc.c into the qe.c 2008-12-03 10:47:36 -06:00
usb.c powerpc/QE: add support for QE USB clocks routing 2008-06-10 10:39:13 -05:00