]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: mchp48l640: Add SPI ID table
authorMark Brown <broonie@kernel.org>
Wed, 2 Feb 2022 14:34:04 +0000 (14:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:58:04 +0000 (13:58 +0200)
commite21e302605e76e0a5b52a611468b685d34deb2bd
treeb1e5bebac92a86998a63cdd19dc2da55dce3565c
parentd05cd4413741283ff299c067d33c2d90633fc68c
mtd: mchp48l640: Add SPI ID table

[ Upstream commit 69a6d06878f05d63673b0dcdc3c3ef1af2996d46 ]

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 an id_table listing the
SPI IDs for everything.

Fixes: 96c8395e2166 ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Michael Walle <michael@walle.cc>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220202143404.16070-4-broonie@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mtd/devices/mchp48l640.c