Skip to content

Commit 0543f29

Browse files
ivitrojarkkojs
authored andcommitted
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 7eba41f ("tpm_tis_spi: Add missing SPI ID") Fix this by adding the corresponding "attpm20p" spi_device_id entry. Fixes: 3c45308 ("tpm_tis_spi: Add compatible string atmel,attpm20p") Cc: [email protected] # +v6.9 Signed-off-by: Vitor Soares <[email protected]> Reviewed-by: Lukas Wunner <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
1 parent 5d8e297 commit 0543f29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/char/tpm/tpm_tis_spi_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ static void tpm_tis_spi_remove(struct spi_device *dev)
318318
}
319319

320320
static const struct spi_device_id tpm_tis_spi_id[] = {
321+
{ "attpm20p", (unsigned long)tpm_tis_spi_probe },
321322
{ "st33htpm-spi", (unsigned long)tpm_tis_spi_probe },
322323
{ "slb9670", (unsigned long)tpm_tis_spi_probe },
323324
{ "tpm_tis_spi", (unsigned long)tpm_tis_spi_probe },

0 commit comments

Comments
 (0)