commit | d0a0c1d5759637f9bb4f6fbeefab7f2c96af9695 | [log] [tgz] |
---|---|---|
author | Peng Fan <van.freenix@gmail.com> | Thu Aug 11 14:02:56 2016 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Tue Oct 04 15:41:01 2016 +0200 |
tree | 0b3a4c5b4c987c12a7717e119fdc7827bab8eefe | |
parent | ec1a4e26a7c663ea25154255fae7492f40aa0f3c [diff] |
dm: mmc: intialize dev when probe Need to initialize mmc->dev when probe, or will met "dev_get_uclass_priv: null device", when `mmc dev 1`. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org>