thunderbolt: Wait a bit longer for root switch config space
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 14 Sep 2017 10:44:07 +0000 (13:44 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Mar 2018 09:54:10 +0000 (12:54 +0300)
commit44b51bbb16d033ac1984123349ec055bae09b623
tree872730c8c311fb78dac23809db570a177a5f5f4b
parent68a7a2ace13156b8a3d8cd6cceab6c30b52e2923
thunderbolt: Wait a bit longer for root switch config space

In some case reading root switch config space takes longer than what we
are currently waiting in the driver resulting timeout and failure.
Increase number of retries to allow some more time for the root switch
config space to become accesssible.

Also log an error if the timeout is exceeded so we know why the driver
probe failed.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/thunderbolt/icm.c