usb: musb: ux500: take the dma_mask from coherent_dma_mask
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:45 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Jun 2013 09:12:03 +0000 (11:12 +0200)
commit1e6eebb4e907548d53347a6e90769feb3d73e9da
tree2fc64cb4339a0783fbad0ad294d22984ea9a0437
parenta20b1b791e42d84dedd5854b60abb841ec1a7585
usb: musb: ux500: take the dma_mask from coherent_dma_mask

The dma_mask will always be the same as the coherent_dma_mask, so let's
cut down on the platform_data burden and set it as such in the driver.
This also saves us from supporting it separately when we come to enable
this driver for Device Tree.

Cc: linux-usb@vger.kernel.org
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/usb.c
drivers/usb/musb/ux500.c