]> err.no Git - linux-2.6/commit
MMC: S3C24XX: Fix s3c2410_dma_request() return code check.
authorBen Dooks <ben-linux@fluff.org>
Mon, 30 Jun 2008 21:40:33 +0000 (22:40 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:47 +0000 (14:14 +0200)
commit3886ff5f63f33c801ed3af265ac0df20d3a8dcf5
tree29b781d35f851b63fab1edda805e6baf66bc9254
parent55d70f5a7b25800fc8376cdd81d42d6c201fa91d
MMC: S3C24XX: Fix s3c2410_dma_request() return code check.

The driver should be checking for a negative error code from
s3c2410_dma_request(), not non-zero. Newer kernels now return
the DMA channel number that was allocated by the request.

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