usb: chipidea: use bus->sysdev for DMA configuration
authorArnd Bergmann <arnd@arndb.de>
Mon, 13 Mar 2017 02:18:42 +0000 (10:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 07:20:21 +0000 (08:20 +0100)
commitaeb78cda51005fa00943e331c1fb47c6ad74015d
treea97c366cf5c3a9de5e0e322909617744bfc31701
parenta8c06e407ef969461b7f51ec72839fe382dd3c29
usb: chipidea: use bus->sysdev for DMA configuration

Set the dma for chipidea from sysdev. This is inherited from its
parent node. Also, do not set dma mask for child as it is not required
now.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/host.c
drivers/usb/chipidea/udc.c