summaryrefslogtreecommitdiff
path: root/lib/flex_proportions.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2017-11-24 17:51:12 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2018-03-09 12:54:10 +0300
commite4be8c9b6a512e274cb6bbac4ac869d73880a8b3 (patch)
tree7a38d2f700af1a8f7cd0ab81fd6db6a0c4822ce8 /lib/flex_proportions.c
parent44b51bbb16d033ac1984123349ec055bae09b623 (diff)
downloadlinux-e4be8c9b6a512e274cb6bbac4ac869d73880a8b3.tar.xz
thunderbolt: Wait a bit longer for ICM to authenticate the active NVM
Sometimes during cold boot ICM has not yet authenticated the active NVM image leading to timeout and failing the driver probe. Allow ICM to take some more time and increase the timeout to 3 seconds before we give up. While there fix icm_firmware_init() to return the real error code without overwriting it with -ENODEV. Fixes: f67cf491175a ("thunderbolt: Add support for Internal Connection Manager (ICM)") Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/flex_proportions.c')
0 files changed, 0 insertions, 0 deletions