]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: sprd: Add SPI device ID table
authorMark Brown <broonie@kernel.org>
Fri, 24 Sep 2021 14:33:47 +0000 (15:33 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 5 Nov 2021 14:40:25 +0000 (14:40 +0000)
commit8136e636e8b26dec3346b74914a053ae9215f0f6
treecbf148b8b9c297d41f50f39cf89558bcbac81478
parentfc4902cbb0c34f2668c3aa001ed301cc04e8441f
mfd: sprd: Add SPI device ID table

Currently autoloading for SPI devices does not use the DT ID table, it uses
SPI modalises. Supporting OF modalises is going to be difficult if not
impractical, an attempt was made but has been reverted, so ensure that
module autoloading works for this driver by adding a SPI device ID table.

Fixes: 0ce7936ceffc ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210924143347.14721-4-broonie@kernel.org
drivers/mfd/sprd-sc27xx-spi.c