On Thu, Nov 05, 2009 at 04:21:31PM -0600, Jane Wang wrote:
New mixer controls added to send dapm stream events to power up/down TWL4030 DAPM widgets along playback and capture paths. In case of DSP rendering, use the corresponding mixer control to power up widgets before stream starts and power down the widges after stream stops.
What does the hardware look like and what is the problem you're trying to solve here? Sending stream events into the core is a definite layering violation and is likely to fail with some use case transitions but without knowing what the patch is trying to achieve it's hard to offer much advice.
+static const char *path_control[] = {"Off", "On"};
+static const struct soc_enum zoom2_enum[] = {
- SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(path_control), path_control),
+};
Why is this an enumerated control and not a switch?