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 <PrasannaKumar.Muraidharan@microchip.com> Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
25ef42f308
commit
3032ab931b
@ -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, "
|
||||
|
Loading…
Reference in New Issue
Block a user