thunderbolt: Do not send UNSET_INBOUND_SBTX when retimer NVM authentication started
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 26 May 2023 11:51:23 +0000 (14:51 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 12 Jun 2023 05:38:01 +0000 (08:38 +0300)
commitb7b83911f7906a72f50806279ef22c86be728b69
tree8b42b852d52bbeb17bbefcba42b62bd061bcaaf4
parent1402ba08abae5cfa583ff1a40b99c098a0532d41
thunderbolt: Do not send UNSET_INBOUND_SBTX when retimer NVM authentication started

Once retimer NVM authentication is started, sending UNSET_INBOUND_SBTX
will fail so avoid doing that. Only send it when we are writing an image
with not authentication or when the authentication failed early.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/retimer.c