[PATCH] scsi: set dma direction to NONE for TEST UNIT READY

Tom Rini trini at konsulko.com
Mon Nov 20 15:04:27 CET 2023


On Mon, 13 Nov 2023 11:51:02 +0600, Nikita Yushchenko wrote:

> SCSI device scan code was executing TEST UNIT READY command without
> explicitly setting dma direction in struct scsi_cmd to NONE, so command
> was passed to driver with dma direction set to DMA_FROM_DEVICE,
> inherited from older usage.
> 
> With WDC SDINDDH6-64G ufs device, that caused TEST UNIT READY to
> return error.
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list