summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorVitor Soares <vitor.soares@toradex.com>2024-06-21 10:50:45 +0100
committerJarkko Sakkinen <jarkko@kernel.org>2024-07-01 15:50:02 +0000
commit0543f29408a151c1c4a12e5da07ec45c2779b9b8 (patch)
tree53ce87fcbc34e3da6d22766c1c102cf31fa9e7ca /drivers/char
parent5d8e2971e817bb64225fc0b6327a78752f58a9aa (diff)
downloadlwn-0543f29408a151c1c4a12e5da07ec45c2779b9b8.tar.gz
lwn-0543f29408a151c1c4a12e5da07ec45c2779b9b8.zip
tpm_tis_spi: add missing attpm20p SPI device ID entry
"atmel,attpm20p" DT compatible is missing its SPI device ID entry, not allowing module autoloading and leading to the following message: "SPI driver tpm_tis_spi has no spi_device_id for atmel,attpm20p" Based on: commit 7eba41fe8c7b ("tpm_tis_spi: Add missing SPI ID") Fix this by adding the corresponding "attpm20p" spi_device_id entry. Fixes: 3c45308c44ed ("tpm_tis_spi: Add compatible string atmel,attpm20p") Cc: stable@vger.kernel.org # +v6.9 Signed-off-by: Vitor Soares <vitor.soares@toradex.com> Reviewed-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/tpm/tpm_tis_spi_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm_tis_spi_main.c b/drivers/char/tpm/tpm_tis_spi_main.c
index c9eca24bbad4..61b42c83ced8 100644
--- a/drivers/char/tpm/tpm_tis_spi_main.c
+++ b/drivers/char/tpm/tpm_tis_spi_main.c
@@ -318,6 +318,7 @@ static void tpm_tis_spi_remove(struct spi_device *dev)
}
static const struct spi_device_id tpm_tis_spi_id[] = {
+ { "attpm20p", (unsigned long)tpm_tis_spi_probe },
{ "st33htpm-spi", (unsigned long)tpm_tis_spi_probe },
{ "slb9670", (unsigned long)tpm_tis_spi_probe },
{ "tpm_tis_spi", (unsigned long)tpm_tis_spi_probe },