
1 May
2014
1 May
'14
10:03 p.m.
On 04/28/2014 01:13 PM, Mateusz Zalega wrote:
In cases when MMC hadn't been initialized before, ie. by the user or other subsystem, it was still uninitialized while UMS media capacity check, leading to broken ums command.
UMS has to initialize resources it uses.
It's probably better to just switch from find_mmc_device() to get_device(), which does the initialization internally. patch "ums: use get_device() not find_mmc_device()" does this.
http://patchwork.ozlabs.org/patch/344328/
That said, at this point, it's probably simplest to just apply this series, and I'll rebase my series on top of this in a day or two.