summaryrefslogtreecommitdiff
path: root/drivers/thunderbolt/test.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2021-04-21 17:14:10 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2021-06-01 10:53:32 +0300
commit25335b30daf66f4cc03715c2ac9cdc3258fb5531 (patch)
tree98eee4560f68d23d48317016b80239e01148fd57 /drivers/thunderbolt/test.c
parentfaa1c615f0bdd4f3ac5288bf2952f49dfeac916c (diff)
downloadlinux-25335b30daf66f4cc03715c2ac9cdc3258fb5531.tar.xz
thunderbolt: Check for NVM authentication status after the operation started
If the NVM authentication fails immediately, like if the firmware detects that the image is not valid for some reason, better to read the status once and if set to non-zero fail the operation accordingly. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt/test.c')
0 files changed, 0 insertions, 0 deletions