ASoC: OMAP: ams-delta: drop .set_bias_level callback
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Mon, 5 Mar 2012 16:05:12 +0000 (17:05 +0100)
committerTony Lindgren <tony@atomide.com>
Mon, 5 Mar 2012 19:25:34 +0000 (11:25 -0800)
commit0379c1f55b734d9d112f535e12f4508b90a1bab1
tree91fa87d36cb93868bc05b7e05e4f6af86c1d0fec
parentaabf31737a6a5eb0c4d73857409cd5bcc914d5f5
ASoC: OMAP: ams-delta: drop .set_bias_level callback

This functionality has already been implemented in the cx20442 codec
driver (commit f75a8ff67d161b5166a2c2360bb2ffaefd5eb853, "ASoC: cx20442:
add bias control over a platform provided regulator"), no need to keep
it here duplicated.

Once done, remove the no longer used AMS_DELTA_LATCH2_MODEM_NRESET
symbol from the board header file and a call to the regulator_toggle()
helper function from the old API wrapper found in the board file.  While
being at it, simplify the way the modem .pm callback handles the
regulator and drop that helper function and its related consumer setup
completely.

Depends on patches 1/3 and 2/3 for clean apply and keep things working.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/plat-omap/include/plat/board-ams-delta.h
sound/soc/omap/ams-delta.c
This page took 0.025829 seconds and 5 git commands to generate.