ASoC: New enum type: value_enum
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Mon, 5 Jan 2009 07:54:57 +0000 (09:54 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Jan 2009 17:47:17 +0000 (17:47 +0000)
commit2e72f8e3716bc3bbf4c9b5b987fb5ab3223f60bf
treef568500ae1737e5c11376ad9b65d706c9da18874
parent796123368871e4a838dc0dfd5dbc3cd8981ef429
ASoC: New enum type: value_enum

This patch introduces a new enum type.
In this enum type each enumerated items referred with a value.

This new enum type can handle enums encoded in bitfield, or any other
weird ways. twl4030 codec has several mux selection register, where the
input/output mux is coded in a bitfield. With the normal enum type this type
of mux can not be handled in a clean way.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dapm.h
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c