i3c: mipi-i3c-hci: Fix missing xfer->completion in hci_cmd_v1_daa()
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 21 Sep 2023 05:57:02 +0000 (08:57 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 25 Sep 2023 21:35:14 +0000 (23:35 +0200)
commit4c36f656b7d1fc00643730c5845c19b3e15be856
treea19fc5478f4d470d8e4129c3389592e2003db4ee
parentb8806e0c939f168237593af0056c309bf31022b0
i3c: mipi-i3c-hci: Fix missing xfer->completion in hci_cmd_v1_daa()

Due to missing completion object for the ENTDAA command transfer in the
hci_cmd_v1_daa() the wait_for_completion_timeout() will obviously
timeout even the transfer itself may succeed.

Fix this by setting the xfer->completion to the already initialized
completion object.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Link: https://lore.kernel.org/r/20230921055704.1087277-11-jarkko.nikula@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/cmd_v1.c