]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ums: always initialize mmc before ums_disk_init()
authorMateusz Zalega <m.zalega@samsung.com>
Mon, 28 Apr 2014 19:13:26 +0000 (21:13 +0200)
committerLukasz Majewski <l.majewski@samsung.com>
Mon, 5 May 2014 06:21:47 +0000 (08:21 +0200)
commit41c2d60b3abad79f94a872d53ede016b1a891abc
tree3b1a8a3aed2cab1fc6c8793763a37c2278bf3e5c
parentb7d4259af298402b7d65c876d8e39e5b9e6c8934
ums: always initialize mmc before ums_disk_init()

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.

Tested on Samsung Goni.

Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>
Tested-by: Mateusz Zalega <m.zalega@samsung.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/common/ums.c