]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
MMC: S3C24XX: Refuse incorrectly aligned transfers
authorBen Dooks <ben-linux@fluff.org>
Mon, 30 Jun 2008 21:40:39 +0000 (22:40 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:48 +0000 (14:14 +0200)
commit7e9c7b64022b7faff6022df64baec8ab467d0bfd
tree53cfd0f7efbdafcb897ab8fde122c6aef1862a73
parent4dde7f755211fd58105c989a99a3a9f2f1238fba
MMC: S3C24XX: Refuse incorrectly aligned transfers

The hardware does not support any multi-block transfers
with an block-size that is not 32bit aligned. Also the driver
itself does not support single block non-32bit transfers
either.

Ensure that the s3cmci_setup_data() returns the appropriate
error if we encounter this.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/s3cmci.c