Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5df191b8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "NFC: Fix force firmware download for SN1xx HW"

parents 325a6a8c 48613f8d
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -746,11 +746,19 @@ static int nfcc_hw_check(struct i2c_client *client, struct nqx_dev *nqx_dev)
				nci_get_version_rsp[3];
			nqx_dev->nqx_info.info.rom_version =
				nci_get_version_rsp[4];
			if ((nci_get_version_rsp[3] == NFCC_SN100_A)
				|| (nci_get_version_rsp[3] == NFCC_SN100_B)) {
				nqx_dev->nqx_info.info.fw_minor =
					nci_get_version_rsp[6];
				nqx_dev->nqx_info.info.fw_major =
					nci_get_version_rsp[7];
			} else {
				nqx_dev->nqx_info.info.fw_minor =
					nci_get_version_rsp[10];
				nqx_dev->nqx_info.info.fw_major =
					nci_get_version_rsp[11];
			}
		}
		goto err_nfcc_reset_failed;
	}
	ret = is_data_available_for_read(nqx_dev);