projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc42b4
)
[SSB] Initialise dma_mask for SSB_BUSTYPE_SSB devices
author
Aurelien Jarno
<aurelien@aurel32.net>
Fri, 26 Sep 2008 20:27:11 +0000
(22:27 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 27 Sep 2008 14:45:37 +0000
(15:45 +0100)
For SSB_BUSTYPE_SSB type devices, we need to initialize dma_mask using
coherent_dma_mask so that calls to dma_set_mask() succeed.
It fixes the regression on the b44 driver introduced by commit
f225763a7d6c92c4932dbd528437997078496fcc
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/ssb/main.c
patch
|
blob
|
history
diff --git
a/drivers/ssb/main.c
b/drivers/ssb/main.c
index 87ab2443e66d405ec72d45a2da2f120d59e48f0c..0ffabf5c0b60dd9892b5b9c45e2a1d8881129108 100644
(file)
--- a/
drivers/ssb/main.c
+++ b/
drivers/ssb/main.c
@@
-471,6
+471,7
@@
static int ssb_devices_register(struct ssb_bus *bus)
#endif
break;
case SSB_BUSTYPE_SSB:
+ dev->dma_mask = &dev->coherent_dma_mask;
break;
}