]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit892e78961a07edbe5805a91f836713126c3d4043
tree91fa87d36cb93868bc05b7e05e4f6af86c1d0fec
parentc2d3fe7829549b3574488f36cac5e8369b4582ef
ASoC: OMAP: ams-delta: drop .set_bias_level callback

This functionality has already been implemented in the cx20442 codec
driver (commit 9ca47ea97e5c24f301ec1ba3759563a7e48159c7, "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