]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mmc: check error bits before command completion
authorPierre Ossman <drzeus@drzeus.cx>
Wed, 25 Jul 2007 21:15:27 +0000 (23:15 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 25 Jul 2007 23:53:01 +0000 (01:53 +0200)
commit43b58b36b7e6554b8a96be6b9f63542c583c06e5
tree5a8cdcfc2bb018a75c2d12d894d85e1835eed69a
parentb8c1c5da1520977cb55a358f20fc09567d40cad9
mmc: check error bits before command completion

Some controllers signal "command complete" even on failures (which
they are allowed to do according to the spec). Make sure we check
the error bits first so we don't get any false positives.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/sdhci.c