linux/drivers/staging/mt7621-mmc
Christian Lütke-Stetzkamp e327df5e88 staging: mt7621-mmc: Make msdc_clr_fifo a function and relax cpu
In the current code, msdc_clr_fifo is a macro and just busy waits for
a limited amount of time for the fifo clear to finish. That is not
correct, the programming manual hits, that the user should wait until
the bit is cleared by hardware and not a limited amount of time.

So the code is changed to a function, that also relaxes the cpu while
busy waiting.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-28 21:48:04 +09:00
..
board.h staging: mt7621-mmc: Remove unused sdio irq code 2018-05-06 19:08:06 -07:00
dbg.c staging: mt7621-mmc: Fix line size exceeding 80 columns 2018-06-01 10:52:48 +02:00
dbg.h staging: mt7621-mmc: Remove unused global dma_size 2018-05-06 19:08:06 -07:00
Kconfig
Makefile
mt6575_sd.h staging: mt7621-mmc: Remove unused field sglen from msdc_dma 2018-06-28 21:48:04 +09:00
sd.c staging: mt7621-mmc: Make msdc_clr_fifo a function and relax cpu 2018-06-28 21:48:04 +09:00
TODO