ASoC: ymu831: remove IRQF_DISABLED
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 27 Jul 2016 08:38:10 +0000 (17:38 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 27 Jul 2016 10:03:06 +0000 (19:03 +0900)
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>
sound/soc/codecs/ymu831/ymu831.c

index a98ed220adc41c139879720341ba8ceb8f82e7ba..68b8e56dd7db2ff6d580326c24421f0ad976730c 100644 (file)
@@ -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);