linux/drivers/usb
Tom Yan 558033c282 uas: fix sdev->host->dma_dev
Use scsi_add_host_with_dma() instead of scsi_add_host().

When the scsi request queue is initialized/allocated, hw_max_sectors is clamped
to the dma max mapping size. Therefore, the correct device that should be used
for the clamping needs to be set.

The same clamping is still needed in uas as hw_max_sectors could be changed
there. The original clamping would be invalidated in such cases.

Signed-off-by: Tom Yan <tom.ty89@gmail.com>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20200903181725.2931-2-tom.ty89@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-04 17:00:39 +02:00
..
atm
c67x00 Linux 5.9-rc3 2020-08-31 07:11:45 +02:00
cdns3
chipidea
class
common
core usb: core: driver: fix stray tabs in error messages 2020-09-04 16:52:40 +02:00
dwc2
dwc3 USB fixes for 5.9-rc3 - take 2 2020-08-30 10:51:03 -07:00
early
gadget Linux 5.9-rc3 2020-08-31 07:11:45 +02:00
host usb/host: ehci-npcm7xx: Use pm_ptr() macro 2020-09-04 16:54:47 +02:00
image
isp1760
misc usb/misc: usb3503: Use pm_ptr() macro 2020-09-04 16:53:57 +02:00
mon
mtu3
musb
phy
renesas_usbhs
roles
serial
storage uas: fix sdev->host->dma_dev 2020-09-04 17:00:39 +02:00
typec Linux 5.9-rc3 2020-08-31 07:11:45 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c