|
@@ -395,7 +395,8 @@ int pnp_check_irq(struct pnp_dev * dev, int idx)
|
|
/* check if the resource is already in use, skip if the
|
|
/* check if the resource is already in use, skip if the
|
|
* device is active because it itself may be in use */
|
|
* device is active because it itself may be in use */
|
|
if(!dev->active) {
|
|
if(!dev->active) {
|
|
- if (request_irq(*irq, pnp_test_handler, SA_INTERRUPT, "pnp", NULL))
|
|
|
|
|
|
+ if (request_irq(*irq, pnp_test_handler,
|
|
|
|
+ SA_INTERRUPT|SA_PROBEIRQ, "pnp", NULL))
|
|
return 0;
|
|
return 0;
|
|
free_irq(*irq, NULL);
|
|
free_irq(*irq, NULL);
|
|
}
|
|
}
|