From 3032ab931bc81d56f6bd9a2a319afc66e4b03923 Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Mon, 28 Sep 2015 17:18:33 +0200 Subject: [PATCH] staging: most: remove shared IRQ request 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 Signed-off-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- drivers/staging/most/hdm-i2c/hdm_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/hdm-i2c/hdm_i2c.c b/drivers/staging/most/hdm-i2c/hdm_i2c.c index 029ded3f250b..7e0c46154bb8 100644 --- a/drivers/staging/most/hdm-i2c/hdm_i2c.c +++ b/drivers/staging/most/hdm-i2c/hdm_i2c.c @@ -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, " -- 2.30.2