From: Guennadi Liakhovetski Date: Wed, 22 Aug 2012 06:49:47 +0000 (+0000) Subject: mmc: sh-mmcif: avoid oops on spurious interrupts (second try) X-Git-Tag: v3.7~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91ab252ac5a5c3461dd6910797611e9172626aed;p=pandora-kernel.git mmc: sh-mmcif: avoid oops on spurious interrupts (second try) On some systems, e.g., kzm9g, MMCIF interfaces can produce spurious interrupts without any active request. To prevent the Oops, that results in such cases, don't dereference the mmc request pointer until we make sure, that we are indeed processing such a request. Reported-by: Tetsuyuki Kobayashi Signed-off-by: Guennadi Liakhovetski Tested-by: Tetsuyuki Kobayashi Cc: stable@vger.kernel.org Signed-off-by: Chris Ball --- Reading git-diff-tree failed