If the mixer is underclocked it will drop a sample so log that error
more directly.

Signed-off-by: Mark Brown <broo...@opensource.wolfsonmicro.com>
---
 drivers/mfd/arizona-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
index 7bea4a7..d71c8fc 100644
--- a/drivers/mfd/arizona-core.c
+++ b/drivers/mfd/arizona-core.c
@@ -115,7 +115,7 @@ static irqreturn_t arizona_underclocked(int irq, void *data)
        if (val & ARIZONA_ADC_UNDERCLOCKED_STS)
                dev_err(arizona->dev, "ADC underclocked\n");
        if (val & ARIZONA_MIXER_UNDERCLOCKED_STS)
-               dev_err(arizona->dev, "Mixer underclocked\n");
+               dev_err(arizona->dev, "Mixer dropped sample\n");
 
        return IRQ_HANDLED;
 }
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to