]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
aw_mmc: Do not fully init the controller in attach
authorEmmanuel Vadot <manu@FreeBSD.org>
Sat, 12 May 2018 13:13:34 +0000 (13:13 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Sat, 12 May 2018 13:13:34 +0000 (13:13 +0000)
commit35a186191ff658d2712015589b6f5deaab8957dc
treed8df9ff68df3481c2296cf5f74221fec052458ea
parent2445c37a243f843ca09c09c7d70f32a3baa8e4b5
aw_mmc: Do not fully init the controller in attach

Only do a reset of the controller at attach and init it at power_up.
We use to enable some interrupts in reset, only enable the interrupts
we are interested in when doing a request.
While here remove the regulators handling in power_on as it is very wrong
and will be dealt with in another commit.

Tested on: A31, A64
sys/arm/allwinner/aw_mmc.c
sys/arm/allwinner/aw_mmc.h