summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2016-07-27 17:38:10 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:51:56 +0900
commit6469aa7d52be611b4fb517be46895c1076ee74e2 (patch)
tree96e4794ca2afc16c6797411e4c1b1c68acf01d19 /sound
parent2888c529612b37d648e9aadf3995813bab985bb7 (diff)
ASoC: ymu831: remove IRQF_DISABLED
After mainline commit "d8bf368 genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely", IRQF_DISABLED is removed. The flags is deprecated in early kernel, so it can be replaced with 0x0 like other drivers. This patch fixes following build error: sound/soc/codecs/ymu831/ymu831.c: In function 'init_irq': sound/soc/codecs/ymu831/ymu831.c:8525:54: error: 'IRQF_DISABLED' undeclared (first use in this function) err = request_irq(mc_asoc->pdata->irq, irq_handler, IRQF_DISABLED, ^ Change-Id: Id06d964fbe2a62f8c9c642d13479782b9663e7cc Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/ymu831/ymu831.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ymu831/ymu831.c b/sound/soc/codecs/ymu831/ymu831.c
index a98ed220adc4..68b8e56dd7db 100644
--- a/sound/soc/codecs/ymu831/ymu831.c
+++ b/sound/soc/codecs/ymu831/ymu831.c
@@ -8522,7 +8522,7 @@ static int init_irq(struct snd_soc_codec *codec)
dev_err(codec->dev, "Failed to set_irq_type: %d\n", err);
return -EIO;
}
- err = request_irq(mc_asoc->pdata->irq, irq_handler, IRQF_DISABLED,
+ err = request_irq(mc_asoc->pdata->irq, irq_handler, 0x0,
"MC_YAMAHA IRQ", NULL);
if (err < 0) {
dev_err(codec->dev, "Failed to request_irq: %d\n", err);