staging: most: remove shared IRQ request
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 28 Sep 2015 15:18:33 +0000 (17:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:18:49 +0000 (03:18 +0200)
Since there is no way find out whether the INIC has generated an
interrupt, the I2C interrupt must not be registered as a shared
interrupt.

Reported-by: PrasannaKumar Muralidharan <PrasannaKumar.Muraidharan@microchip.com>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-i2c/hdm_i2c.c

index 029ded3f250b90a6fc4380c2234ba0ab8df3fefa..7e0c46154bb8bc32c9f5d19061bc22d1acb7146c 100644 (file)
@@ -364,7 +364,7 @@ static int i2c_probe(struct i2c_client *client, const struct i2c_device_id *id)
        dev->polling_mode = polling_req || client->irq <= 0;
        if (!dev->polling_mode) {
                pr_info("Requesting IRQ: %d\n", client->irq);
-               ret = request_irq(client->irq, most_irq_handler, IRQF_SHARED,
+               ret = request_irq(client->irq, most_irq_handler, 0,
                                  client->name, dev);
                if (ret) {
                        pr_info("IRQ request failed: %d, "