mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
Input: twl6040-vibra: Use accessor to get revision information
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
a69882aec3
commit
7e968985cb
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ static void twl6040_vibra_enable(struct vibra_info *info)
|
||||||
}
|
}
|
||||||
|
|
||||||
twl6040_power(info->twl6040, 1);
|
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
|
* ERRATA: Disable overcurrent protection for at least
|
||||||
* 3ms when enabling vibrator drivers to avoid false
|
* 3ms when enabling vibrator drivers to avoid false
|
||||||
|
|
Loading…
Reference in a new issue