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

Skip to content
Commit 6cf3205c authored by Sekhar Nori's avatar Sekhar Nori Committed by Mark Salyzyn
Browse files

UPSTREAM: 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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit bde654a55adca166641361332e1f141de5197b02)
Bug: 131154932
Test: build
Change-Id: I3f1c316fbb9a15302b643cb27f3dd8fb30e9ffaf
parent 7288952d
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