Commit 4d6bd7d6 authored by Liguang Zhang's avatar Liguang Zhang Committed by Zheng Zengkai
Browse files

tpm_tis_spi: set default probe function if device id not match

mainline inclusion
from mainline-v5.14-rc1
commit 114e4337
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4UACK
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=114e43371c58992c3ceece219cc359f16314b2c9



-----------------------------------------------------------------------

In DSDT table, TPM _CID was SMO0768, and no _HID definition. After a
kernel upgrade from 4.19 to 5.10, TPM probe function was changed which
causes device probe fails. In order to make newer kernel to be
compatible with the older acpi definition, it would be best set default
probe function.

Signed-off-by: default avatarLiguang Zhang <zhangliguang@linux.alibaba.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJiefeng Ou <oujiefeng@h-partners.com>
Reviewed-by: default avatarYicong Yang <yangyicong@huawei.com>
Reviewed-by: default avatarJay Fang <f.fangjian@huawei.com>
Acked-by: default avatarXinwei <Kong&lt;kong.kongxinwei@hisilicon.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 60ac6ecc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment