Skip to content

Commit

Permalink
[SSB] Initialise dma_mask for SSB_BUSTYPE_SSB devices
Browse files Browse the repository at this point in the history
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
f225763

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
aurel32 authored and ralfbaechle committed Sep 27, 2008
1 parent 2dc42b4 commit ac82da3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ssb/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ac82da3

Please sign in to comment.