Re: [PATCH v10 1/2] mmc: dw_mmc: move controller reset before driver init

From: Shawn Lin
Date: Sun Aug 13 2017 - 21:18:47 EST


Trim cc

On 2017/8/11 16:06, Li Wei wrote:
This commit modifies dw_mci_probe(), it moves reset assertion before
drv_data->init(host)

Some driver needs to access controller registers in its .init() ops. So,
in order to make such access safe, we should do controller reset before
.init() being called.


LGTM

Reviewed-by: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>

Signed-off-by: Wei Li <liwei213@xxxxxxxxxx>
Signed-off-by: Guodong Xu <guodong.xu@xxxxxxxxxx>
Signed-off-by: Chen Jun <chenjun14@xxxxxxxxxx>
---