mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[SSB] Initialise dma_mask for SSB_BUSTYPE_SSB devices
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
f225763a7d
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
2dc42b47a7
commit
ac82da3381
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue