summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-pmu-backlight.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2012-03-05 17:05:11 +0100
committerTony Lindgren <tony@atomide.com>2012-03-05 11:24:30 -0800
commitaabf31737a6a5eb0c4d73857409cd5bcc914d5f5 (patch)
treeeda335fb96d06f686d87bc61d7e79d41b2fa8645 /drivers/macintosh/via-pmu-backlight.c
parentac2885df30e2597d627ad619c01b6fc55ac540a7 (diff)
downloadtalos-obmc-linux-aabf31737a6a5eb0c4d73857409cd5bcc914d5f5.tar.gz
talos-obmc-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 'drivers/macintosh/via-pmu-backlight.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud