Skip to content
Commit ca4e7d67 authored by Matt Pelland's avatar Matt Pelland Committed by Stefan Roese
Browse files

mmc: mv_sdhci: zero out sdhci_host structure



The mv_sdhci driver was not zeroing the sdhci_host structure it
allocates causing random access violations in parts of the mmc core
where the "ops" member pointers are checked and called if not NULL.

Signed-off-by: default avatarMatt Pelland <mpelland@starry.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 8c0a17be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment