mfd: rtsx: Do retry when DMA transfer error
authorSteven Feng <steven_feng@realsil.com.cn>
Tue, 23 May 2017 07:13:24 +0000 (15:13 +0800)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:11 +0000 (08:29 +0100)
commit87d284443d071dc70344dda4b2fb43723686acdb
tree4dad341884d0ab06c71f17a83976e9b04e04b76f
parent9b79ff104f73de63efc958cc0dec3c826aee3ffd
mfd: rtsx: Do retry when DMA transfer error

The request should be resent when DMA transfer error occurred.
For rts5227, the clock rate needs to be reduced when error occurred.

Signed-off-by: Steven Feng <steven_feng@realsil.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rtsx_pcr.c
include/linux/mfd/rtsx_pci.h