thunderbolt: Fix XDomain rx_lanes_show and tx_lanes_show
authorMohammad Rahimi <rahimi.mhmmd@gmail.com>
Sun, 14 Jan 2024 03:40:54 +0000 (11:40 +0800)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 22 Jan 2024 11:31:06 +0000 (13:31 +0200)
commit7ebe52f3e7bcb57eb29b47fcbd23b4a5fed6b302
tree1ea78d1f5d293483a633563a3d8a7905cd78ba75
parent59a54c5f3dbde00b8ad30aef27fe35b1fe07bf5c
thunderbolt: Fix XDomain rx_lanes_show and tx_lanes_show

If the Inter-Domain link is operating in asymmetric TB_LINK_WIDTH_ASYM_TX
mode, the rx_lanes_show should return 1 since there is only one receiver
and tx_lanes_show should return 3 since there are 3 transmitters.

Signed-off-by: Mohammad Rahimi <rahimi.mhmmd@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/xdomain.c