From: Seung-Woo Kim Date: Wed, 27 Jul 2016 08:38:10 +0000 (+0900) Subject: ASoC: ymu831: remove IRQF_DISABLED X-Git-Tag: submit/tizen/20160810.050017~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db753382c086999c77a8df13517fb52ae650a00c;p=platform%2Fkernel%2Flinux-exynos.git 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 --- 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);