aboutsummaryrefslogtreecommitdiff
path: root/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c')
-rw-r--r--drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c b/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c
index 8c3bbbc4922..af0066d9a96 100644
--- a/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c
+++ b/drivers/sdio/hcd/s3c24xx/s3c24xx_hcd.c
@@ -1192,7 +1192,8 @@ static int s3c24xx_hcd_hw_init(struct s3c24xx_hcd_context * context)
}
- if (s3c2410_dma_request(context->dma_channel, &s3c24xx_hcd_dma_client, NULL)) {
+ if (s3c2410_dma_request(context->dma_channel, &s3c24xx_hcd_dma_client,
+ NULL) < 0) {
DBG_PRINT(SDDBG_ERROR, ("unable to get DMA channel.\n"));
status = -ENOENT;
goto out_free_dma;