diff options
author | Guangqing Zhu <zhuguangqing83@gmail.com> | 2021-04-15 10:38:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-15 18:07:54 +0300 |
commit | 22ff9c4230bd09ade8971c05463b90ec1d513245 (patch) | |
tree | 0610a5929a49d9cb405e1364f1891253f696a3a2 /sound/soc/codecs/wcd934x.c | |
parent | 1ceb019e7830fb831dac10b0fe0688dea24687db (diff) | |
download | linux-22ff9c4230bd09ade8971c05463b90ec1d513245.tar.xz |
ASoC: codecs: wcd934x: Fix missing IRQF_ONESHOT as only threaded handler
Coccinelle noticed:
sound/soc/codecs/wcd934x.c:5041:7-32: ERROR: Threaded IRQ with no primary
handler requested without IRQF_ONESHOT
Signed-off-by: Guangqing Zhu <zhuguangqing83@gmail.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210415073829.22750-1-zhuguangqing83@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wcd934x.c')
-rw-r--r-- | sound/soc/codecs/wcd934x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wcd934x.c b/sound/soc/codecs/wcd934x.c index 5fe403307b72..cddc49bbb7f6 100644 --- a/sound/soc/codecs/wcd934x.c +++ b/sound/soc/codecs/wcd934x.c @@ -5040,7 +5040,7 @@ static int wcd934x_codec_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(dev, irq, NULL, wcd934x_slim_irq_handler, - IRQF_TRIGGER_RISING, + IRQF_TRIGGER_RISING | IRQF_ONESHOT, "slim", wcd); if (ret) { dev_err(dev, "Failed to request slimbus irq\n"); |