linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/5] video: atafb: Remove obsolete IRQ_TYPE_PRIO
       [not found] <1421052021-12560-1-git-send-email-geert@linux-m68k.org>
@ 2015-01-12  8:40 ` Geert Uytterhoeven
  2015-01-13 12:51   ` Tomi Valkeinen
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2015-01-12  8:40 UTC (permalink / raw)
  To: David S. Miller, Jean-Christophe Plagniol-Villard, Tomi Valkeinen,
	Jaroslav Kysela, Takashi Iwai
  Cc: linux-m68k, linux-kernel, Geert Uytterhoeven, linux-fbdev

IRQ_TYPE_PRIO is no longer used by the Atari platform interrupt code
since commit 734085651c9b80aa ("[PATCH] m68k: convert atari irq code")
in v2.6.18-rc1, so drop it.

Note that its value has been reused for a different purpose
(IRQ_TYPE_EDGE_FALLING) since commit 6a6de9ef5850d063 ("[PATCH] genirq:
core") in v2.6.18-rc1.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-fbdev@vger.kernel.org
---
 drivers/video/fbdev/atafb.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/video/fbdev/atafb.c b/drivers/video/fbdev/atafb.c
index b2d38097a95718ce..7b231771a4b668b0 100644
--- a/drivers/video/fbdev/atafb.c
+++ b/drivers/video/fbdev/atafb.c
@@ -3121,8 +3121,7 @@ int __init atafb_init(void)
 			printk("atafb_init: initializing Falcon hw\n");
 			fbhw = &falcon_switch;
 			atafb_ops.fb_setcolreg = &falcon_setcolreg;
-			error = request_irq(IRQ_AUTO_4, falcon_vbl_switcher,
-					    IRQ_TYPE_PRIO,
+			error = request_irq(IRQ_AUTO_4, falcon_vbl_switcher, 0,
 					    "framebuffer:modeswitch",
 					    falcon_vbl_switcher);
 			if (error)
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 3/5] video: atafb: Remove obsolete IRQ_TYPE_PRIO
  2015-01-12  8:40 ` [PATCH 3/5] video: atafb: Remove obsolete IRQ_TYPE_PRIO Geert Uytterhoeven
@ 2015-01-13 12:51   ` Tomi Valkeinen
  0 siblings, 0 replies; 2+ messages in thread
From: Tomi Valkeinen @ 2015-01-13 12:51 UTC (permalink / raw)
  To: Geert Uytterhoeven, David S. Miller,
	Jean-Christophe Plagniol-Villard, Jaroslav Kysela, Takashi Iwai
  Cc: linux-m68k, linux-kernel, linux-fbdev

[-- Attachment #1: Type: text/plain, Size: 1292 bytes --]

On 12/01/15 10:40, Geert Uytterhoeven wrote:
> IRQ_TYPE_PRIO is no longer used by the Atari platform interrupt code
> since commit 734085651c9b80aa ("[PATCH] m68k: convert atari irq code")
> in v2.6.18-rc1, so drop it.
> 
> Note that its value has been reused for a different purpose
> (IRQ_TYPE_EDGE_FALLING) since commit 6a6de9ef5850d063 ("[PATCH] genirq:
> core") in v2.6.18-rc1.
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Cc: linux-fbdev@vger.kernel.org
> ---
>  drivers/video/fbdev/atafb.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/video/fbdev/atafb.c b/drivers/video/fbdev/atafb.c
> index b2d38097a95718ce..7b231771a4b668b0 100644
> --- a/drivers/video/fbdev/atafb.c
> +++ b/drivers/video/fbdev/atafb.c
> @@ -3121,8 +3121,7 @@ int __init atafb_init(void)
>  			printk("atafb_init: initializing Falcon hw\n");
>  			fbhw = &falcon_switch;
>  			atafb_ops.fb_setcolreg = &falcon_setcolreg;
> -			error = request_irq(IRQ_AUTO_4, falcon_vbl_switcher,
> -					    IRQ_TYPE_PRIO,
> +			error = request_irq(IRQ_AUTO_4, falcon_vbl_switcher, 0,
>  					    "framebuffer:modeswitch",
>  					    falcon_vbl_switcher);
>  			if (error)
> 

Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

 Tomi



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-13 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1421052021-12560-1-git-send-email-geert@linux-m68k.org>
2015-01-12  8:40 ` [PATCH 3/5] video: atafb: Remove obsolete IRQ_TYPE_PRIO Geert Uytterhoeven
2015-01-13 12:51   ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).