]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi-rockchip: Fix register out of bounds access
authorLuis de Arquer <luis.dearquer@inertim.com>
Fri, 21 Mar 2025 12:57:53 +0000 (13:57 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 26 Mar 2025 13:31:00 +0000 (13:31 +0000)
commit7a874e8b54ea21094f7fd2d428b164394c6cb316
tree2343352c00afae47497972a2fb86b0575c8ebc7f
parentee2ecf2cf501eaa69dcd723d76b434767195b64e
spi-rockchip: Fix register out of bounds access

Do not write native chip select stuff for GPIO chip selects.
GPIOs can be numbered much higher than native CS.
Also, it makes no sense.

Signed-off-by: Luis de Arquer <luis.dearquer@inertim.com>
Link: https://patch.msgid.link/365ccddfba110549202b3520f4401a6a936e82a8.camel@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c