]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iio: st_pressure_spi: Add missing entries SPI to device ID table
authorMark Brown <broonie@kernel.org>
Mon, 27 Sep 2021 13:41:53 +0000 (14:41 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 7 Dec 2021 06:33:17 +0000 (07:33 +0100)
commit4d5206ea3a9526235a4cfdfbbb6b2a05c68de87d
treecbacf1616960ba7aa018157af2e685d0ffe726a3
parentbd6a3eaf3a0570af2939ece52ffe932803b0041f
iio: st_pressure_spi: Add missing entries SPI to device ID table

BugLink: https://bugs.launchpad.net/bugs/1951822
[ Upstream commit 03748d4e003c9f2ad3cd00e3e46f054dcad6b96d ]

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 SPI IDs for parts that
only have a compatible listed.

Fixes: 96c8395e2166 ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210927134153.12739-1-broonie@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/iio/pressure/st_pressure_spi.c