summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJanusz Krzysztofik2012-03-05 17:05:11 +0100
committerTony Lindgren2012-03-05 20:24:30 +0100
commitaabf31737a6a5eb0c4d73857409cd5bcc914d5f5 (patch)
treeeda335fb96d06f686d87bc61d7e79d41b2fa8645 /sound
parentARM: OMAP1: ams-delta: set up regulator over modem reset GPIO pin (diff)
downloadkernel-qcow2-linux-aabf31737a6a5eb0c4d73857409cd5bcc914d5f5.tar.gz
kernel-qcow2-linux-aabf31737a6a5eb0c4d73857409cd5bcc914d5f5.tar.xz
kernel-qcow2-linux-aabf31737a6a5eb0c4d73857409cd5bcc914d5f5.zip
ARM: OMAP1: ams-delta: update the modem to use regulator API
After the CX20442 codec driver already takes care of enabling the codec power for itself (commit f75a8ff67d161b5166a2c2360bb2ffaefd5eb853, "ASoC: cx20442: add bias control over a platform provided regulator"), but before dropping the old bias control method from the Amstrad Delta ASoC sound card file, which in fact keeps the modem power always on, even on the ASoC device close for now, extend the modem setup with a power management callback which toggles the regulator up to the modem's needs, reusing the previously set up regulator consumer for this. Also, drop the MODEM_NRESET pin setup from the modem initialization procedure, as this operation was already ineffective since patch 1/3, and not needed because the regulator is set up as initially enabled. Depends on patch 1/3 "ARM: OMAP1: ams-delta: set up regulator over modem reset GPIO pin" to apply cleanly. Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Cc: Tony Lindgren <tony@atomide.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions