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

2017-08-13 Thread Shawn Lin
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 call

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

2017-08-11 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: Gu