]> git.baikalelectronics.ru Git - kernel.git/commit
MFD: twl6040: function to query the vibra status for clients
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 12 Oct 2011 08:57:55 +0000 (11:57 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 12 Oct 2011 10:48:49 +0000 (11:48 +0100)
commit7c6c4893857c2b59fb3b00e1424e9379eb4326f2
treed33c829e1f54a634b43c9361c816972050593e60
parent680045b335fa251f4c53229d003fe7427f54847b
MFD: twl6040: function to query the vibra status for clients

If the client only interested, if any of the vibra channels enabled, or
if any of the channels are set to receive audio data via PDM.

This function targets mainly the vibra driver, so it can check if it is
allowed to execute effects ot not.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/mfd/twl6040-core.c
include/linux/mfd/twl6040.h