ASoC: sn95031: make playback rails depend on actual pins they control
authorVinod Koul <vinod.koul@intel.com>
Tue, 15 Feb 2011 12:58:51 +0000 (18:28 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Feb 2011 01:58:26 +0000 (17:58 -0800)
commit1461d0630ef74073e308a79834ba09e1bd2df08e
treed1ae49301c5cd303cd5fefce95a39d80ae0aa053
parentf98dedcefdbcbe8d51e77d911583ecc2c2668174
ASoC: sn95031: make playback rails depend on actual pins they control

This patch makes the codec playback rails (headset and speaker) depend on
actual pins they control. This enables better power management of the codec

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Harsha Priya <priya.harsha@intel.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sn95031.c