Commit c9c56fd0 authored by Mark Brown's avatar Mark Brown

ASoC: arizona: Add IN4 to the mixer tables

Some devices have four input structures rather than three.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent a837987e
...@@ -79,6 +79,8 @@ const char *arizona_mixer_texts[ARIZONA_NUM_MIXER_INPUTS] = { ...@@ -79,6 +79,8 @@ const char *arizona_mixer_texts[ARIZONA_NUM_MIXER_INPUTS] = {
"IN2R", "IN2R",
"IN3L", "IN3L",
"IN3R", "IN3R",
"IN4L",
"IN4R",
"AIF1RX1", "AIF1RX1",
"AIF1RX2", "AIF1RX2",
"AIF1RX3", "AIF1RX3",
...@@ -138,6 +140,8 @@ int arizona_mixer_values[ARIZONA_NUM_MIXER_INPUTS] = { ...@@ -138,6 +140,8 @@ int arizona_mixer_values[ARIZONA_NUM_MIXER_INPUTS] = {
0x13, 0x13,
0x14, 0x14,
0x15, 0x15,
0x16,
0x17,
0x20, /* AIF1RX1 */ 0x20, /* AIF1RX1 */
0x21, 0x21,
0x22, 0x22,
......
...@@ -59,7 +59,7 @@ struct arizona_priv { ...@@ -59,7 +59,7 @@ struct arizona_priv {
struct arizona_dai_priv dai[ARIZONA_MAX_DAI]; struct arizona_dai_priv dai[ARIZONA_MAX_DAI];
}; };
#define ARIZONA_NUM_MIXER_INPUTS 55 #define ARIZONA_NUM_MIXER_INPUTS 57
extern const unsigned int arizona_mixer_tlv[]; extern const unsigned int arizona_mixer_tlv[];
extern const char *arizona_mixer_texts[ARIZONA_NUM_MIXER_INPUTS]; extern const char *arizona_mixer_texts[ARIZONA_NUM_MIXER_INPUTS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment