summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4475048)
raw | patch | inline | side by side (parent: 4475048)
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | |
Wed, 16 Jan 2013 06:03:52 +0000 (15:03 +0900) | ||
committer | Archit Taneja <archit@ti.com> | |
Thu, 28 Feb 2013 06:26:29 +0000 (11:56 +0530) |
We only log the result and since the interrupt triggers on loss of lock
during shutdown this may lead to spurious interrupts during shutdown
delaying the process.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
during shutdown this may lead to spurious interrupts during shutdown
delaying the process.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/arizona.c | patch | blob | history | |
sound/soc/codecs/arizona.h | patch | blob | history |
index f919a3ae2887c10295ea822d5ae657262a98b305..a12dd1669886c4629600c3826ffc7920d0fbb427 100644 (file)
}
EXPORT_SYMBOL_GPL(arizona_init_dai);
-static irqreturn_t arizona_fll_lock(int irq, void *data)
-{
- struct arizona_fll *fll = data;
-
- arizona_fll_dbg(fll, "Lock status changed\n");
-
- complete(&fll->lock);
-
- return IRQ_HANDLED;
-}
-
static irqreturn_t arizona_fll_clock_ok(int irq, void *data)
{
struct arizona_fll *fll = data;
{
int ret;
- init_completion(&fll->lock);
init_completion(&fll->ok);
fll->id = id;
@@ -1158,13 +1146,6 @@ int arizona_init_fll(struct arizona *arizona, int id, int base, int lock_irq,
snprintf(fll->clock_ok_name, sizeof(fll->clock_ok_name),
"FLL%d clock OK", id);
- ret = arizona_request_irq(arizona, lock_irq, fll->lock_name,
- arizona_fll_lock, fll);
- if (ret != 0) {
- dev_err(arizona->dev, "Failed to get FLL%d lock IRQ: %d\n",
- id, ret);
- }
-
ret = arizona_request_irq(arizona, ok_irq, fll->clock_ok_name,
arizona_fll_clock_ok, fll);
if (ret != 0) {
index 697ff6fcaba425a8a3e951fc1d1572c9caacd417..116372c91f5de3f60eafd9a738cd4a31e1ab0bcb 100644 (file)
int id;
unsigned int base;
unsigned int vco_mult;
- struct completion lock;
struct completion ok;
unsigned int fref;
unsigned int fout;