diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-07-15 06:21:49 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-28 06:01:45 -0400 |
commit | 6e440d27aa2212c714c8b061dea2d64cff0bc482 (patch) | |
tree | 517d4670483cadd1e20267568af69947fa6c4709 /drivers/mfd | |
parent | 3215501fc90e109c7b854423e02eb05bc638b555 (diff) |
mfd: arizona: Add missing handling for ISRC3 under/overclocked
Some parts have a third ISRC, this patch adds handling for the under and
overclocked interrupts from this ISRC.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/arizona-core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index cf3689f7e984..10a0cb90619a 100644 --- a/drivers/mfd/arizona-core.c +++ b/drivers/mfd/arizona-core.c | |||
@@ -123,6 +123,8 @@ static irqreturn_t arizona_underclocked(int irq, void *data) | |||
123 | dev_err(arizona->dev, "AIF2 underclocked\n"); | 123 | dev_err(arizona->dev, "AIF2 underclocked\n"); |
124 | if (val & ARIZONA_AIF1_UNDERCLOCKED_STS) | 124 | if (val & ARIZONA_AIF1_UNDERCLOCKED_STS) |
125 | dev_err(arizona->dev, "AIF1 underclocked\n"); | 125 | dev_err(arizona->dev, "AIF1 underclocked\n"); |
126 | if (val & ARIZONA_ISRC3_UNDERCLOCKED_STS) | ||
127 | dev_err(arizona->dev, "ISRC3 underclocked\n"); | ||
126 | if (val & ARIZONA_ISRC2_UNDERCLOCKED_STS) | 128 | if (val & ARIZONA_ISRC2_UNDERCLOCKED_STS) |
127 | dev_err(arizona->dev, "ISRC2 underclocked\n"); | 129 | dev_err(arizona->dev, "ISRC2 underclocked\n"); |
128 | if (val & ARIZONA_ISRC1_UNDERCLOCKED_STS) | 130 | if (val & ARIZONA_ISRC1_UNDERCLOCKED_STS) |
@@ -192,6 +194,8 @@ static irqreturn_t arizona_overclocked(int irq, void *data) | |||
192 | dev_err(arizona->dev, "ASRC sync WARP overclocked\n"); | 194 | dev_err(arizona->dev, "ASRC sync WARP overclocked\n"); |
193 | if (val[1] & ARIZONA_ADSP2_1_OVERCLOCKED_STS) | 195 | if (val[1] & ARIZONA_ADSP2_1_OVERCLOCKED_STS) |
194 | dev_err(arizona->dev, "DSP1 overclocked\n"); | 196 | dev_err(arizona->dev, "DSP1 overclocked\n"); |
197 | if (val[1] & ARIZONA_ISRC3_OVERCLOCKED_STS) | ||
198 | dev_err(arizona->dev, "ISRC3 overclocked\n"); | ||
195 | if (val[1] & ARIZONA_ISRC2_OVERCLOCKED_STS) | 199 | if (val[1] & ARIZONA_ISRC2_OVERCLOCKED_STS) |
196 | dev_err(arizona->dev, "ISRC2 overclocked\n"); | 200 | dev_err(arizona->dev, "ISRC2 overclocked\n"); |
197 | if (val[1] & ARIZONA_ISRC1_OVERCLOCKED_STS) | 201 | if (val[1] & ARIZONA_ISRC1_OVERCLOCKED_STS) |