diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2013-08-12 11:33:32 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-12 11:56:13 +0100 |
commit | e7edb2731bf8e00aaeb7d20800ae108068618f63 (patch) | |
tree | bf284c2959fc6a86dc6ad694b9b6e2ed9a274dd0 /sound/soc/codecs/arizona.h | |
parent | c7f3843575eac1eea1fbda2f6b61d36627fa8f7c (diff) |
ASoC: arizona: Add widget<->mux route into mux route macro
The routes linking the widget and the input mux were being added
manually, rather than by the ARIZONA_MUX_ROUTES macro. This patchs adds
the routes to the macro.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/arizona.h')
-rw-r--r-- | sound/soc/codecs/arizona.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/arizona.h b/sound/soc/codecs/arizona.h index b6b6d7036ea0..9e81b6392692 100644 --- a/sound/soc/codecs/arizona.h +++ b/sound/soc/codecs/arizona.h @@ -150,7 +150,8 @@ extern int arizona_mixer_values[ARIZONA_NUM_MIXER_INPUTS]; ARIZONA_MUX(name_str " Aux 5", &name##_aux5_mux), \ ARIZONA_MUX(name_str " Aux 6", &name##_aux6_mux) -#define ARIZONA_MUX_ROUTES(name) \ +#define ARIZONA_MUX_ROUTES(widget, name) \ + { widget, NULL, name " Input" }, \ ARIZONA_MIXER_INPUT_ROUTES(name " Input") #define ARIZONA_MIXER_ROUTES(widget, name) \ |