OSDN Git Service

powerpc/ps3: Set driver coherent_dma_mask
authorGeoff Levand <geoff@infradead.org>
Wed, 18 Jul 2018 22:08:33 +0000 (15:08 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Jul 2018 02:50:37 +0000 (12:50 +1000)
commit48e91846865cd61bfdb701eb737de222d7f08c74
tree5ba59cd40a74c496bb4fb0839123b79dcaac50a7
parentef6cb5f1a048fdf91ccee6d63d2bfa293338502d
powerpc/ps3: Set driver coherent_dma_mask

Set the coherent_dma_mask for the PS3 ehci, ohci, and snd devices.

Silences WARN_ON_ONCE messages emitted by the dma_alloc_attrs() routine.

Reported-by: Fredrik Noring <noring@nocrew.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/usb/host/ehci-ps3.c
drivers/usb/host/ohci-ps3.c
sound/ppc/snd_ps3.c