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

Commit 258b26f4 authored by Anomalchik's avatar Anomalchik
Browse files

drivers: input: fingerprint: add markw fingerprints

parent e4d0bb96
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -423,7 +423,12 @@ static ssize_t compatible_all_set(struct device *dev,
		}
		devm_free_irq(dev, gpio_to_irq(fpc1020->irq_gpio), fpc1020);
		fpc1020->compatible_enabled = 0;
#ifdef CONFIG_MACH_XIAOMI_MARKW
	}else
		goto exit;
#else
	}
#endif
	hw_reset(fpc1020);
	return count;
exit:
@@ -593,7 +598,11 @@ static const struct dev_pm_ops fpc1020_pm_ops = {
#endif

static struct of_device_id fpc1020_of_match[] = {
#ifdef CONFIG_MACH_XIAOMI_MARKW
	{ .compatible = "soc:fpc1020", },
#else
	{ .compatible = "fpc,fpc1020", },
#endif
	{}
};
MODULE_DEVICE_TABLE(of, fpc1020_of_match);
+4 −0
Original line number Diff line number Diff line
ifeq ($(CONFIG_MACH_XIAOMI_MARKW),y)
obj-$(CONFIG_FINGERPRINT_GOODIX_GF3208) += gf_spi_markw.o platform.o netlink.o
else
obj-$(CONFIG_FINGERPRINT_GOODIX_GF3208) += gf_spi.o platform.o netlink.o
endif
#obj-y += gf_spi.o platform.o netlink.o
+899 −0

File added.

Preview size limit exceeded, changes collapsed.