Searched hist:"70 c2e03e9aaf17496c63f6e42333c012f5ae5307" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/thunderbolt/ |
H A D | dma_test.c | diff 70c2e03e9aaf17496c63f6e42333c012f5ae5307 Wed Mar 29 12:23:04 CEST 2023 Mika Westerberg <mika.westerberg@linux.intel.com> thunderbolt: dma_test: Use correct value for absent rings when creating paths
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@vger.kernel.org Reported-by: Pengfei Xu <pengfei.xu@intel.com> Tested-by: Pengfei Xu <pengfei.xu@intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
|