diff options
author | liwei <liwei213@huawei.com> | 2017-08-11 16:06:23 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 14:01:56 +0200 |
commit | 941e372d89c253fda457fd6267a2c05dd7598df0 (patch) | |
tree | 3dc74430ccbd73105467700d6f3813f824088787 /kernel | |
parent | a2bc74cfee87bdf0f656ada0e5deed6237f31eaf (diff) | |
download | linux-stable-941e372d89c253fda457fd6267a2c05dd7598df0.tar.gz linux-stable-941e372d89c253fda457fd6267a2c05dd7598df0.tar.bz2 linux-stable-941e372d89c253fda457fd6267a2c05dd7598df0.zip |
mmc: dw_mmc: move controller reset before driver init
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 <liwei213@huawei.com>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Chen Jun <chenjun14@huawei.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions