]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: host: ehci: use correct device pointer for dma ops
authorPeter Chen <hzpeterchen@gmail.com>
Thu, 1 Feb 2018 04:26:43 +0000 (12:26 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 28 Feb 2018 14:47:28 +0000 (08:47 -0600)
commita6882151803c6a64c5331f72ed182879f8a5399e
tree75af030830129a4bf3497d30728a5b50361989f5
parent50d112e51276b71e1a2cf6532f01b4c43f8d7bd8
usb: host: ehci: use correct device pointer for dma ops

BugLink: https://bugs.launchpad.net/bugs/1752317
commit 02a10f061a3f8bca1b37332672f50a107198adbe upstream.

commit a8c06e407ef9 ("usb: separate out sysdev pointer from usb_bus")
converted to use hcd->self.sysdev for DMA operations instead of
hcd->self.controller, but forgot to do it for hcd test mode. Replace
the correct one in this commit.

Fixes: a8c06e407ef9 ("usb: separate out sysdev pointer from usb_bus")
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/usb/host/ehci-hub.c