]> asedeno.scripts.mit.edu Git - linux.git/commit
thunderbolt: Hide switch attributes that are not set
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 11 Sep 2018 12:34:23 +0000 (15:34 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 26 Aug 2019 09:14:56 +0000 (12:14 +0300)
commit58f414fa435cf728a82f435bac4781da86afb623
treeb0e671d67c49f40436e6ca68d6afc6159bf4942a
parentd94dcbb10183f3b384c84e65724d2b753aa53c4d
thunderbolt: Hide switch attributes that are not set

Thunderbolt host routers may not always contain DROM that includes
device identification information. This is mostly needed for Ice Lake
systems but some Falcon Ridge controllers on PCs also do not have DROM.

In that case hide the identification attributes.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Tested-by: Mario Limonciello <mario.limonciello@dell.com>
drivers/thunderbolt/switch.c