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

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

Merge "NFC: Read NFCC is fused or unfused for 64 bit arch"

parents 53a5295c b4ec3780
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -917,6 +917,7 @@ static long nfc_compat_ioctl(struct file *pfile, unsigned int cmd,
				unsigned long arg)
{
	long r = 0;
	struct qca199x_dev *qca199x_dev = pfile->private_data;
	arg = (compat_u64)arg;
	switch (cmd) {
	case NFC_SET_PWR:
@@ -935,6 +936,14 @@ static long nfc_compat_ioctl(struct file *pfile, unsigned int cmd,
		break;
	case SET_EMULATOR_TEST_POINT:
		break;
	case NFC_GET_EFUSE:
		r = nfc_ioctl_nfcc_efuse(pfile, cmd, arg);
		if (r < 0) {
			r = 0xFF;
			dev_err(&qca199x_dev->client->dev,
			"nfc_ioctl : FAILED TO READ EFUSE TYPE\n");
		}
		break;
	default:
		r = -ENOTTY;
	}