NFC: driver: use SMEM to getPeripheralStatus at bootup
Updated getPeripheralStatus call to use SMEM, instead of sending a secure monitor call to QTEE. Change-Id: Id2be09aa10f00bf4a2373e4056c0e9533c9f3ac2
This commit is contained in:
@@ -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()) {
|
||||
if(!nfc_hw_secure_check_smem()) {
|
||||
nfc_post_init(nfc_dev);
|
||||
nfc_dev->secure_zone = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user