Unverified Commit a5554642 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2803 drivers/gmjstcm: fix a dev_err() call in spi tcm device probe

Merge Pull Request from: @lizg-ky 
 
TCM1.0 are TPM like chip, by Nationz Technologies Inc.
The kernel issue https://gitee.com/openeuler/kernel/issues/I4W1R1
report a bug of call dev_err(chip->dev, ..) while chip is NULL,
in TCM1.0 spi device probe. I believe we have fixed this bug in this PR. 
 
Link:https://gitee.com/openeuler/kernel/pulls/2803

 

Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 1aeeaf2e 70218113
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment