]> git.baikalelectronics.ru Git - 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Feb 2018 17:43:57 +0000 (18:43 +0100)
commita66907ee6ca2c141e1e4149ace50e452ddfe6883
treef07c71e1ce7fa30dc9584bfc25fb4a69b1053c4a
parentab7692876e9b6ddb7cb8bf216fda022efed5e40b
usb: host: ehci: use correct device pointer for dma ops

commit 36b6e55ef036 ("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: 36b6e55ef036 ("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