Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753586AbbBYSxE (ORCPT ); Wed, 25 Feb 2015 13:53:04 -0500 Received: from bhuna.collabora.co.uk ([93.93.135.160]:52356 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753537AbbBYSwt (ORCPT ); Wed, 25 Feb 2015 13:52:49 -0500 Message-ID: <54EE19F9.6020302@collabora.co.uk> Date: Wed, 25 Feb 2015 19:52:41 +0100 From: Javier Martinez Canillas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: Doug Anderson , Jaehoon Chung , Seungwon Jeon , Ulf Hansson CC: Alim Akhtar , Sonny Rao , Andrew Bresticker , Heiko Stuebner , Addy Ke , Alexandru Stan , linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, chris@printf.net, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] mmc: dw_mmc: Don't crash if we get an interrupt before slot has initted References: <1424887912-20015-1-git-send-email-dianders@chromium.org> <1424887912-20015-2-git-send-email-dianders@chromium.org> In-Reply-To: <1424887912-20015-2-git-send-email-dianders@chromium.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 796 Lines: 22 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 On an Exynos5250 Snow, Exynos5420 Peach Pit and Exynos5800 Peach Pi: Tested-by: Javier Martinez Canillas Best regards, Javier -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/