git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: bcm2835: Drop DMA channel error pointer check
[sfrench/cifs-2.6.git]
/
drivers
/
mmc
/
host
/
bcm2835.c
diff --git
a/drivers/mmc/host/bcm2835.c
b/drivers/mmc/host/bcm2835.c
index c9e7aa50bb0ab5d05884d8ebfe6ef740adeda150..ab8d58a60352008f4fa71fa3378794bcf836ad58 100644
(file)
--- a/
drivers/mmc/host/bcm2835.c
+++ b/
drivers/mmc/host/bcm2835.c
@@
-1286,7
+1286,7
@@
static int bcm2835_add_host(struct bcm2835_host *host)
spin_lock_init(&host->lock);
mutex_init(&host->mutex);
- if (
IS_ERR_OR_NULL(host->dma_chan_rxtx)
) {
+ if (
!host->dma_chan_rxtx
) {
dev_warn(dev, "unable to initialise DMA channel. Falling back to PIO\n");
host->use_dma = false;
} else {