mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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: commit7eba41fe8c
("tpm_tis_spi: Add missing SPI ID") Fix this by adding the corresponding "attpm20p" spi_device_id entry. Fixes:3c45308c44
("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>
This commit is contained in:
parent
5d8e2971e8
commit
0543f29408
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user