]> git.baikalelectronics.ru Git - kernel.git/commit
media: ddbridge: request/free_irq using pci_irq_vector, enable MSI-X
authorDaniel Scheller <d.scheller@gmx.net>
Mon, 9 Apr 2018 16:47:39 +0000 (12:47 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 14:32:52 +0000 (10:32 -0400)
commit7f779a6e297d26b44b0563beca1ba7c8a175e49a
tree44c67634421a49507becd267e9530b67ea64777c
parent52021fae2ccb013544446c4cba416c0f1fa1441f
media: ddbridge: request/free_irq using pci_irq_vector, enable MSI-X

Instead of trying to manage IRQ numbers on itself, utilise the
pci_irq_vector() function to do this, which will take care of correct IRQ
numbering for MSI and non-MSI IRQs. While at it, request and enable MSI-X
interrupts for hardware (boards and cards) that support this.

Picked up from the upstream dddvb-0.9.33 release.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/ddbridge/ddbridge-main.c