diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2017-03-08 17:42:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-13 17:09:25 +0100 |
commit | bf5043d69c9bf33696f9151552175f1203f8c9d9 (patch) | |
tree | 24a3b5cda6fdc8f6b63577090b5436763d569d1b /sound/soc/codecs/cs35l35.c | |
parent | ASoC: cs35l35: Add local variable for dev in probe (diff) | |
download | linux-bf5043d69c9bf33696f9151552175f1203f8c9d9.tar.xz linux-bf5043d69c9bf33696f9151552175f1203f8c9d9.zip |
ASoC: cs35l35: Add IRQF_SHARED to IRQ flags
As it is quite common to use a stereo pair of amps but share the IRQ
line between them both add the IRQF_SHARED flag whilst requesting
cs35l35's IRQ.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs35l35.c')
-rw-r--r-- | sound/soc/codecs/cs35l35.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c index 99bcdb962359..7c4d74ec32cb 100644 --- a/sound/soc/codecs/cs35l35.c +++ b/sound/soc/codecs/cs35l35.c @@ -1427,8 +1427,8 @@ static int cs35l35_i2c_probe(struct i2c_client *i2c_client, init_completion(&cs35l35->pdn_done); ret = devm_request_threaded_irq(dev, i2c_client->irq, NULL, cs35l35_irq, - IRQF_ONESHOT | IRQF_TRIGGER_LOW, - "cs35l35", cs35l35); + IRQF_ONESHOT | IRQF_TRIGGER_LOW | + IRQF_SHARED, "cs35l35", cs35l35); if (ret != 0) { dev_err(dev, "Failed to request IRQ: %d\n", ret); goto err; |