[PATCH 2/2] mmc: dw_mmc: Don't crash if we get an interrupt before slot has initted

Javier Martinez Canillas javier.martinez at collabora.co.uk
Wed Feb 25 10:52:41 PST 2015


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 at chromium.org>

On an Exynos5250 Snow, Exynos5420 Peach Pit and Exynos5800 Peach Pi:

Tested-by: Javier Martinez Canillas <javier.martinez at collabora.co.uk>

Best regards,
Javier




More information about the linux-arm-kernel mailing list