thunderbolt: Don't hardcode margining capabilities size
Use or pass ARRAY_SIZE() of the capabilities array instead of hardcoding it. USB4 Gen 4 introduces an additional data word, which requires expanding the capabilities array. Signed-off-by:Aapo Vienamo <aapo.vienamo@iki.fi> Signed-off-by:
Mika Westerberg <mika.westerberg@linux.intel.com>
Loading
Please sign in to comment