ASoC: sn95031: enable penwell osc_clk0 for vibra operations
authorRamesh Babu K V <ramesh.babu@intel.com>
Thu, 6 Oct 2011 15:18:33 +0000 (16:18 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:16:52 +0000 (13:16 -0800)
commit24ea00ebf252bb0a00aae2adac5bbc437d31d411
tree6e81863ff3e2c2abaacbbe12dc9741984fc09154
parent8c6d6cdcf07b9f436560b3313b7c16cc9a8a07ba
ASoC: sn95031: enable penwell osc_clk0 for vibra operations

osc_clk0 of penwell is connected to PLLIN of MSIC.
Currently osc_clk0 is enabled only when either voice
call or music playback is active.

Enable the osc_clk0 of penwell during vibra/haptics
use cases.  Enabling the osc_clk0 is achieved through
sending a command to the SCU firmware

Change-Id: I8d73e7517eaa34cf8752ab65138bffebed500abd
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
drivers/staging/intel_sst/intel_sst.h
sound/soc/codecs/sn95031.c