diff options
| author | Takashi Iwai <[email protected]> | 2023-05-24 12:14:24 +0200 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-05-24 12:14:24 +0200 |
| commit | bac4d8220b7227e317caeadf5ed05c61cd5dc21c (patch) | |
| tree | 47b53fec64780a300ab4a60363329945f7ee500b /sound/soc/codecs/rt5682-i2c.c | |
| parent | 81302b1c7c997e8a56c1c2fc63a296ebeb0cd2d0 (diff) | |
| parent | 011a8719d6105dcb48077ea7a6a88ac019d4aa50 (diff) | |
Merge tag 'asoc-fix-v6.4-rc3' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.4
A collection of fixes for v6.4, mostly driver specific but there's also
one fix for DPCM to avoid incorrectly repeated calls to prepare() which
can trigger issues on some systems.
Diffstat (limited to 'sound/soc/codecs/rt5682-i2c.c')
| -rw-r--r-- | sound/soc/codecs/rt5682-i2c.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5682-i2c.c b/sound/soc/codecs/rt5682-i2c.c index 2935c1bb81f3..5bc46b041786 100644 --- a/sound/soc/codecs/rt5682-i2c.c +++ b/sound/soc/codecs/rt5682-i2c.c @@ -267,7 +267,9 @@ static int rt5682_i2c_probe(struct i2c_client *i2c) ret = devm_request_threaded_irq(&i2c->dev, i2c->irq, NULL, rt5682_irq, IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | IRQF_ONESHOT, "rt5682", rt5682); - if (ret) + if (!ret) + rt5682->irq = i2c->irq; + else dev_err(&i2c->dev, "Failed to reguest IRQ: %d\n", ret); } |