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

2017-08-08 Thread Li Wei
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. Signed-off-by: Wei Li

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

2017-08-08 Thread Li Wei
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. Signed-off-by: Wei Li Signed-off-by: