]> git.baikalelectronics.ru Git - kernel.git/commit
Input: twl4030-vibra: Support for DT booted kernel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 10 Sep 2012 10:46:26 +0000 (13:46 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 22 Sep 2012 15:18:24 +0000 (11:18 -0400)
commit0c93ee55f2f9376151d433359ffca2a3f450c026
tree7545e204fb9af3b853e07d0039d14b331a0ce50f
parent242ef3426b96e4be88dda3a93185cfa2fdda03a5
Input: twl4030-vibra: Support for DT booted kernel

Add support when the kernel has been booted with DT blob. In this case the
pdata is NULL, we need to reach up to the core node and check if the codec
part has been enabled to determine if we need to coexist with the codec or
not.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/input/misc/twl4030-vibra.c