Patch "tpm_tis_spi: Add missing SPI ID" has been added to the 5.14-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    tpm_tis_spi: Add missing SPI ID

to the 5.14-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     tpm_tis_spi-add-missing-spi-id.patch
and it can be found in the queue-5.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit a81793914ce663dfee99435a6ae90d223b20671b
Author: Mark Brown <broonie@xxxxxxxxxx>
Date:   Fri Sep 24 15:41:11 2021 +0100

    tpm_tis_spi: Add missing SPI ID
    
    [ Upstream commit 7eba41fe8c7bb01ff3d4b757bd622375792bc720 ]
    
    In commit c46ed2281bbe ("tpm_tis_spi: add missing SPI device ID entries")
    we added SPI IDs for all the DT aliases to handle the fact that we always
    use SPI modaliases to load modules even when probed via DT however the
    mentioned commit missed that the SPI and OF device ID entries did not
    match and were different and so DT nodes with compatible
    "tcg,tpm_tis-spi" will not match.  Add an extra ID for tpm_tis-spi
    rather than just fix the existing one since what's currently there is
    going to be better for anyone actually using SPI IDs to instantiate.
    
    Fixes: c46ed2281bbe ("tpm_tis_spi: add missing SPI device ID entries")
    Fixes: 96c8395e2166 ("spi: Revert modalias changes")
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
    Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
    Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>
    Signed-off-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/char/tpm/tpm_tis_spi_main.c b/drivers/char/tpm/tpm_tis_spi_main.c
index 54584b4b00d19..aaa59a00eeaef 100644
--- a/drivers/char/tpm/tpm_tis_spi_main.c
+++ b/drivers/char/tpm/tpm_tis_spi_main.c
@@ -267,6 +267,7 @@ static const struct spi_device_id tpm_tis_spi_id[] = {
 	{ "st33htpm-spi", (unsigned long)tpm_tis_spi_probe },
 	{ "slb9670", (unsigned long)tpm_tis_spi_probe },
 	{ "tpm_tis_spi", (unsigned long)tpm_tis_spi_probe },
+	{ "tpm_tis-spi", (unsigned long)tpm_tis_spi_probe },
 	{ "cr50", (unsigned long)cr50_spi_probe },
 	{}
 };



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux