[PATCH 2/2] mmc: dw_mmc: Don't crash if we get an interrupt before slot has initted
From: Javier Martinez Canillas <hidden>
Date: 2015-02-25 18:53:04
Also in:
linux-mmc, lkml
From: Javier Martinez Canillas <hidden>
Date: 2015-02-25 18:53:04
Also in:
linux-mmc, lkml
Hello Doug, On 02/25/2015 07:11 PM, Doug Anderson wrote:
It's unlikely that this is really needed on any single-slot systems where we disable card detects until the end of probe, but it still seems safer to check to make sure that a slot has been initted before we try to dereference it to find the SDIO interrupt mask. Signed-off-by: Doug Anderson <dianders@chromium.org>
On an Exynos5250 Snow, Exynos5420 Peach Pit and Exynos5800 Peach Pi: Tested-by: Javier Martinez Canillas <redacted> Best regards, Javier