]> git.ipfire.org Git - u-boot.git/commit
mmc: Fix uninitialised priv member
authorAlex Kiernan <alex.kiernan@gmail.com>
Fri, 9 Feb 2018 15:24:38 +0000 (15:24 +0000)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2018 08:00:33 +0000 (17:00 +0900)
commit4a41fec589b5f57bc83fca423222c6a1860a50f5
tree3e36a2164f1949c4f329c4836d1e6c6fd9cb739d
parentace1bed327411cf3cade45599864df2d461045a0
mmc: Fix uninitialised priv member

When using omap_hsmmc without the device model then the allocation
of mmc->priv ends up uninitialised.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Tested-by: Robert Nelson <robertcnelson@gmail.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
drivers/mmc/omap_hsmmc.c