mmc: sd: Use locally stored ocr on paranoid init
Prevent null pointer dereference when accessing ocr stored in the card
structure in case mmc_sd_init_card() had failed before allocating the
card structure and we are retrying the init.
Change-Id: I15365804e0986e01339ccaefdffdfaf9fd319160
Signed-off-by:
Venkat Gopalakrishnan <venkatg@codeaurora.org>
Loading
Please register or sign in to comment