diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-08-22 06:49:47 +0000 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-12-06 13:54:35 -0500 |
commit | 91ab252ac5a5c3461dd6910797611e9172626aed (patch) | |
tree | 8e1dfa1c86e2221997e4918203615782404a663c /drivers/mmc/host/sdhci.c | |
parent | 6984f3c31bb57cb7491dbec1be44b74bd00f4648 (diff) |
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 <koba@kmckk.co.jp>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Cc: stable@vger.kernel.org
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
0 files changed, 0 insertions, 0 deletions