From ed2540effa70097f8e74aeaa83525dea7ccfc47a Mon Sep 17 00:00:00 2001 From: Doug Anderson Date: Wed, 25 Feb 2015 10:11:52 -0800 Subject: [PATCH] mmc: dw_mmc: Don't crash if we get an interrupt before slot has initted 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 Tested-by: Javier Martinez Canillas Signed-off-by: Jaehoon Chung Signed-off-by: Ulf Hansson --- Reading git-format-patch failed