Revert "NFC: driver: use SMEM to getPeripheralStatus at bootup"

This  reverts commit 3b1ddde824.

Change-Id: Id7c99947e9faf5edb76a5878a13e4abb11f2dbd6
This commit is contained in:
Madan Koyyalamudi
2023-02-27 09:46:13 -08:00
parent 3b1ddde824
commit 771f608e7f
4 changed files with 75 additions and 24 deletions

View File

@@ -420,7 +420,7 @@ int nfc_i2c_dev_probe(struct i2c_client *client, const struct i2c_device_id *id)
if( nfc_dev->configs.CNSS_NFC_HW_SECURE_ENABLE == true) {
/*Check NFC Secure Zone status*/
if(!nfc_hw_secure_check_smem()) {
if(!nfc_hw_secure_check()) {
nfc_post_init(nfc_dev);
nfc_dev->secure_zone = false;
}