Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4da25c7f authored by Sekhar Nori's avatar Sekhar Nori Committed by Jack Pham
Browse files

usb: hcd: 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 one instance.

This gets caught when DMA debugging is enabled since dma map
and unmap end up using different device pointers.

Fix it.

Fixes: a8c06e407ef9 ("usb: separate out sysdev pointer from usb_bus")
Reported-by: default avatarCarlos Hernandez <ceh@ti.com>
Acked-by: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
Change-Id: I40283d8bd3d4a2e765ab3ba88778426d19b08313
Patch-mainline: linux-usb @ 04/03/17, 13:56
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent f556be0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment