ASoC: Intel: Update bxt_da7219_max98357a to add a new
authorHarsha Priya <harshapriya.n@intel.com>
Wed, 15 Mar 2017 23:28:25 +0000 (16:28 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 21 Mar 2017 18:43:32 +0000 (18:43 +0000)
commitd7fba9dcf6cd74cb8a8ab1c4c2629a3f7df00bc9
tree7390bc3b6df6ba7db1e06d0e0d88abd127b6bbab
parentbf3e5ef5d549f650c13bef2b2192057cfef33d38
ASoC: Intel: Update bxt_da7219_max98357a to add a new

This patch adds a platform clock widget to turn off the clock only when
both headset capture and headset playback are not in use. This removes
turning off the clock in hw_free so that the clock is on when
either capture or playback of headset is in progress.

Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bxt_da7219_max98357a.c