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

Commit 7e968985 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown
Browse files

Input: twl6040-vibra: Use accessor to get revision information

parent a69882ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ static void twl6040_vibra_enable(struct vibra_info *info)
	}

	twl6040_power(info->twl6040, 1);
	if (twl6040->rev <= TWL6040_REV_ES1_1) {
	if (twl6040_get_revid(twl6040) <= TWL6040_REV_ES1_1) {
		/*
		 * ERRATA: Disable overcurrent protection for at least
		 * 3ms when enabling vibrator drivers to avoid false