OSDN Git Service

mips/jazz: provide missing dma_mask/coherent_dma_mask
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Thu, 12 Jul 2018 13:42:55 +0000 (15:42 +0200)
committerPaul Burton <paul.burton@mips.com>
Thu, 12 Jul 2018 15:58:31 +0000 (08:58 -0700)
commitb5d69129ea2b86d8a357efe3eca664b44860406e
tree717b279e0990ee18f836052938943d7d64e13795
parentddba595b7b24ac17d553814d9d525fe4472c89e6
mips/jazz: provide missing dma_mask/coherent_dma_mask

Commit 205e1b7f51e4 ("dma-mapping: warn when there is no
coherent_dma_mask") introduced a warning, if a device is missing a
coherent_dma_mask. ESP and sonic are using dma mapping functions, so
they need dma masks.

[paul.burton@mips.com:
  - Wrap commit message.]

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19828/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
arch/mips/jazz/setup.c