]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: s3c6410: add new quirk in sdhci driver and update ADMA descriptor build
authorThomas Abraham <thomas.ab@samsung.com>
Wed, 26 May 2010 21:42:04 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:40 +0000 (09:12 -0700)
commitb7f4de9d40ba8d9f528015da2a6998a763c75e08
tree0d4fbf97f88182a8679af78d9de9b20f1b3916d0
parent34529e786ec877c5b0d33e79d57c062af3371f8d
mmc: s3c6410: add new quirk in sdhci driver and update ADMA descriptor build

The s3c6410 sdhci controller does not support the 'End' attribute and NOP
attribute in the same 8-Byte ADMA descriptor.  This patch adds a new quirk
to identify sdhci host contollers with such behaviour.  In addition to
this, for controllers using the new quirk, the last entry in the ADMA
descritor table is marked with the 'End' attribute (instead of using a NOP
descriptor with 'End' attribute).

Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h