[U-Boot] [PATCH 1/4] mmc: sunxi: fix legacy MMC initialisation
Jagan Teki
jagannadh.teki at gmail.com
Thu Aug 24 06:50:07 UTC 2017
On Thu, Aug 24, 2017 at 8:41 AM, Chen-Yu Tsai <wens at csie.org> wrote:
> On Wed, Aug 23, 2017 at 7:41 PM, Maxime Ripard
> <maxime.ripard at free-electrons.com> wrote:
>> 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 <maxime.ripard at free-electrons.com>
>
> Tested-by: Chen-Yu Tsai <wens at csie.org>
Tested-by: Jagan Teki <jagan at openedev.com>
Reviewed-by: Jagan Teki <jagan at openedev.com>
thanks!
--
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
More information about the U-Boot
mailing list