usb: core: hcd: use map_urb_for_dma for single step set feature urb
authorLi Jun <jun.li@nxp.com>
Sat, 8 May 2021 05:33:59 +0000 (13:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:02:30 +0000 (16:02 +0200)
commit216e0e563d81ff9a16627b3d95cbfe5fa88153d7
tree648de2af1c052bce2beccda0466399e05f4de34f
parentcbbc07e1e892c373f30f4ba08fedecd49afca247
usb: core: hcd: use map_urb_for_dma for single step set feature urb

Use map_urb_for_dma() to improve the dma map code for single step
set feature request urb in test mode.

Signed-off-by: Li Jun <jun.li@nxp.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/1620452039-11694-3-git-send-email-jun.li@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c