]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i3c: master: svc: Fix missing the IBI rules
authorStanley Chu <yschu@nuvoton.com>
Tue, 18 Mar 2025 05:36:04 +0000 (13:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:25 +0000 (14:39 +0200)
commite1c900e078d588a18b64ebc19f59243fd1ab2ad2
treef230f9621cf7dced5bd0a9cb77caebb411a9cfe3
parenta8edfc206ed109201c9d1dc7a5da3d3da20949d5
i3c: master: svc: Fix missing the IBI rules

[ Upstream commit 9cecad134d84d14dc72a0eea7a107691c3e5a837 ]

The code does not add IBI rules for devices with controller capability.
However, the secondary controller has the controller capability and works
at target mode when the device is probed. Therefore, add IBI rules for
such devices.

Fixes: dd3c52846d59 ("i3c: master: svc: Add Silvaco I3C master driver")
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250318053606.3087121-2-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