Advertisement
Guest User

piffo

a guest
Oct 30th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. Submitter Michael Opdenacker
  2. Date 2013-10-13 06:11:12
  3. Message ID <1381644672-9283-1-git-send-email-michael.opdenacker@free-electrons.com>
  4. Download mbox | patch
  5. Permalink /patch/20376/
  6. State Accepted
  7. Delegated to: Hans Verkuil
  8. Headers show
  9. Comments
  10. Michael Opdenacker - 2013-10-13 06:11:12
  11.  
  12. This patch proposes to remove the use of the IRQF_DISABLED flag
  13.  
  14. It's a NOOP since 2.6.35 and it will be removed one day.
  15.  
  16. Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
  17. ---
  18. drivers/media/rc/winbond-cir.c | 2 +-
  19. 1 file changed, 1 insertion(+), 1 deletion(-)
  20.  
  21. David Härdeman - 2013-10-14 10:07:32
  22.  
  23. On 2013-10-13 08:11, Michael Opdenacker wrote:
  24. > This patch proposes to remove the use of the IRQF_DISABLED flag
  25. >
  26. > It's a NOOP since 2.6.35 and it will be removed one day.
  27. >
  28. > Signed-off-by: Michael Opdenacker
  29. > <michael.opdenacker@free-electrons.com>
  30. Acked-by: David Härdeman <david@hardeman.nu>
  31. > ---
  32. > drivers/media/rc/winbond-cir.c | 2 +-
  33. > 1 file changed, 1 insertion(+), 1 deletion(-)
  34. >
  35. > diff --git a/drivers/media/rc/winbond-cir.c
  36. > b/drivers/media/rc/winbond-cir.c
  37. > index 98bd496..904baf4 100644
  38. > --- a/drivers/media/rc/winbond-cir.c
  39. > +++ b/drivers/media/rc/winbond-cir.c
  40. > @@ -1110,7 +1110,7 @@ wbcir_probe(struct pnp_dev *device, const struct
  41. > pnp_device_id *dev_id)
  42. > }
  43. >
  44. > err = request_irq(data->irq, wbcir_irq_handler,
  45. > - IRQF_DISABLED, DRVNAME, device);
  46. > + 0, DRVNAME, device);
  47. > if (err) {
  48. > dev_err(dev, "Failed to claim IRQ %u\n", data->irq);
  49. > err = -EBUSY;
  50. --
  51. To unsubscribe from this list: send the line "unsubscribe linux-media" in
  52. the body of a message to majordomo@vger.kernel.org
  53. More majordomo info at http://vger.kernel.org/majordomo-info.html
  54.  
  55. Patch
  56.  
  57. diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir.c
  58. index 98bd496..904baf4 100644
  59. --- a/drivers/media/rc/winbond-cir.c
  60. +++ b/drivers/media/rc/winbond-cir.c
  61. @@ -1110,7 +1110,7 @@ wbcir_probe(struct pnp_dev *device, const struct pnp_device_id *dev_id)
  62. }
  63.  
  64. err = request_irq(data->irq, wbcir_irq_handler,
  65. - IRQF_DISABLED, DRVNAME, device);
  66. + 0, DRVNAME, device);
  67. if (err) {
  68. dev_err(dev, "Failed to claim IRQ %u\n", data->irq);
  69. err = -EBUSY;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement