ASoC: msm8226: Enable 5V external supply for speaker

Speaker needs external supply of 5 volts in order to be enabled.
This supply is controlled by PMIC GPIO 2. Enable supply to speaker
only when playback is active on speaker. Supply is enabled / disabled
by toggling the GPIO that controls the supply.

Change-Id: I6c595cefa0b3d655de6346ac5df630c27ab21e96
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
1 file changed