]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Feb 2018 17:43:57 +0000 (18:43 +0100)
commit02a10f061a3f8bca1b37332672f50a107198adbe
treef07c71e1ce7fa30dc9584bfc25fb4a69b1053c4a
parent009f41aed4b3e11e6dc1e3c07377a10c20f1a5ed
usb: host: ehci: use correct device pointer for dma ops

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>
drivers/usb/host/ehci-hub.c