]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
authorFrank Li <Frank.Li@nxp.com>
Mon, 23 Oct 2023 16:16:57 +0000 (12:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 16:56:32 +0000 (16:56 +0000)
commit2c9092e8b29a2c88138c0436fac50d277904126a
treedb891caf19ca36cb20fbc4b1fdc27306aee21021
parentda754f92fc0253af4312a1f737fe342ea949ba36
i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen

commit dfd7cd6aafdb1f5ba93828e97e56b38304b23a05 upstream.

Upon IBIWON timeout, the SDA line will always be kept low if we don't emit
a stop. Calling svc_i3c_master_emit_stop() there will let the bus return to
idle state.

Fixes: dd3c52846d59 ("i3c: master: svc: Add Silvaco I3C master driver")
Cc: <stable@vger.kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20231023161658.3890811-6-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i3c/master/svc-i3c-master.c