Re: [PATCH] thunderbolt: dma_test: Use correct value for absent rings when creating paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 17, 2023 at 11:29:19AM +0300, Mika Westerberg wrote:
> Both tb_xdomain_enable_paths() and tb_xdomain_disable_paths() expect -1,
> not 0, if the corresponding ring is not needed. For this reason change
> the driver to use correct value for the rings that are not needed.
> 
> Fixes: 180b0689425c ("thunderbolt: Allow multiple DMA tunnels over a single XDomain connection")
> Cc: stable@xxxxxxxxxxxxxxx
> Reported-by: Pengfei Xu <pengfei.xu@xxxxxxxxx>
> Tested-by: Pengfei Xu <pengfei.xu@xxxxxxxxx>
> Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>

Applied to thunderbolt.git/fixes.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux