usb: ehci: use bus->sysdev for DMA configuration
authorPeter Chen <peter.chen@nxp.com>
Mon, 13 Mar 2017 02:18:45 +0000 (10:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 07:20:21 +0000 (08:20 +0100)
commit8b373ffc797713337f42f0e58d832d5cae86752c
tree4aea6ffe9ce7d28e0e61f16f946446d2d377b2d8
parent4c39d4b949d36faffbc726525b469886cf311d1c
usb: ehci: use bus->sysdev for DMA configuration

Set the dma for ehci from sysdev. The sysdev is pointing to device that
is known to the system firmware or hardware.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Sriram Dash <sriram.dash@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-mem.c