]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i3c: master: svc: Fix missing STOP for master request
authorStanley Chu <yschu@nuvoton.com>
Tue, 18 Mar 2025 05:36:06 +0000 (13:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:05 +0000 (14:40 +0200)
commitf2985a1de6f53abbc42c7a696ee6ba8bdecc9426
treee4304278dbbf1eb95fc3080ef73878e1cd6390d5
parent227c253c9ef9dfb9647697b5a6e5e3a3c469d11e
i3c: master: svc: Fix missing STOP for master request

[ Upstream commit 0430bf9bc1ac068c8b8c540eb93e5751872efc51 ]

The controller driver nacked the master request but didn't emit a
STOP to end the transaction. The driver shall refuse the unsupported
requests and return the controller state to IDLE by emitting a STOP.

Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250318053606.3087121-4-yschu@nuvoton.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i3c/master/svc-i3c-master.c