UPSTREAM: usb: dwc3: omap: drop dma_mask configuration
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 5 Apr 2016 12:09:44 +0000 (15:09 +0300)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commit32bd9f56e78b1c1601a587cbc45810efe23a8e26
tree2125e8a4c54a64dd193c171dd201d7ea64c6612e
parentfef32918537b18ecd0c84182e8e84bf26b776c47
UPSTREAM: usb: dwc3: omap: drop dma_mask configuration

The DWC3 OMAP driver supports DT-boot only, as result dma_mask will be
always configured properly from DT -
of_platform_device_create_pdata()->of_dma_configure(). More over,
dwc3-omap.c can be built as module and in this case it's unsafe to
assign local variable as dma_mask.

Hence, remove dma_mask configuration code.

Change-Id: I48f756ccc2d84b0e5eb4afc7b3789261d735600c
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit 495dd5f78145c44274eeb8ec297195ac71a8fed0)
drivers/usb/dwc3/dwc3-omap.c