diff options
| author | Maxime Ripard <[email protected]> | 2017-08-23 13:41:33 +0200 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2017-08-28 22:38:05 +0530 |
| commit | ead3697d7ec491c055fe546b3a45bcfba45fa022 (patch) | |
| tree | 518445c11387021ae03817f8e0fd0191dc888f60 /scripts | |
| parent | c9319b3f204583f5c415db8865492a76ab9425b3 (diff) | |
mmc: sunxi: fix legacy MMC initialisation
The driver-model rework changed, among other things, the way the private
data were moved around. It now uses the private field in the struct mmc.
However, the mmc_create argument was changed in the process to always pass
the array we used to have to store our private structures.
The basically means that all the MMC driver instances will now have the
private data of the first instance, which obviously doesn't work very well.
Pass the proper pointer to mmc_create.
Fixes: 034e226bc77e ("dm: mmc: sunxi: Pass private data around explicitly")
Signed-off-by: Maxime Ripard <[email protected]>
Tested-by: Chen-Yu Tsai <[email protected]>
Tested-by: Jagan Teki <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
