summaryrefslogtreecommitdiff
path: root/kernel/groups.c
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2015-02-25 18:11:52 (GMT)
committerUlf Hansson <ulf.hansson@linaro.org>2015-03-23 13:13:31 (GMT)
commited2540effa70097f8e74aeaa83525dea7ccfc47a (patch)
tree517d8da70fbccc97f8f77918617cf148d6c37e0b /kernel/groups.c
parentfa0c328343c6314364d3678334f5a8854e086f11 (diff)
downloadlinux-ed2540effa70097f8e74aeaa83525dea7ccfc47a.tar.xz
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 <dianders@chromium.org> Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions