All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aaro Koskinen <aaro.koskinen@iki.fi>
To: Tony Lindgren <tony@atomide.com>,
	linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>, stable@vger.kernel.org
Subject: [PATCH] ARM: OMAP1: fix incorrect INT_DMA_LCD
Date: Mon, 26 Oct 2015 20:41:43 +0200	[thread overview]
Message-ID: <1445884903-12224-1-git-send-email-aaro.koskinen@iki.fi> (raw)
In-Reply-To: <20151020144707.GA3078@atomide.com>

Commit 685e2d08c54b ("ARM: OMAP1: Change interrupt numbering for
sparse IRQ") turned on SPARSE_IRQ on OMAP1, but forgot to change
the number of INT_DMA_LCD. This broke the boot at least on Nokia 770,
where the device hangs during framebuffer initialization.

Fix by defining INT_DMA_LCD like the other interrupts.

Cc: stable@vger.kernel.org
Fixes: 685e2d08c54b ("ARM: OMAP1: Change interrupt numbering for sparse IRQ")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
---
 include/linux/omap-dma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/omap-dma.h b/include/linux/omap-dma.h
index e5a7013..88fa8af 100644
--- a/include/linux/omap-dma.h
+++ b/include/linux/omap-dma.h
@@ -17,7 +17,7 @@
 
 #include <linux/platform_device.h>
 
-#define INT_DMA_LCD			25
+#define INT_DMA_LCD			(NR_IRQS_LEGACY + 25)
 
 #define OMAP1_DMA_TOUT_IRQ		(1 << 0)
 #define OMAP_DMA_DROP_IRQ		(1 << 1)
-- 
2.4.0


WARNING: multiple messages have this Message-ID (diff)
From: aaro.koskinen@iki.fi (Aaro Koskinen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: OMAP1: fix incorrect INT_DMA_LCD
Date: Mon, 26 Oct 2015 20:41:43 +0200	[thread overview]
Message-ID: <1445884903-12224-1-git-send-email-aaro.koskinen@iki.fi> (raw)
In-Reply-To: <20151020144707.GA3078@atomide.com>

Commit 685e2d08c54b ("ARM: OMAP1: Change interrupt numbering for
sparse IRQ") turned on SPARSE_IRQ on OMAP1, but forgot to change
the number of INT_DMA_LCD. This broke the boot at least on Nokia 770,
where the device hangs during framebuffer initialization.

Fix by defining INT_DMA_LCD like the other interrupts.

Cc: stable at vger.kernel.org
Fixes: 685e2d08c54b ("ARM: OMAP1: Change interrupt numbering for sparse IRQ")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
---
 include/linux/omap-dma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/omap-dma.h b/include/linux/omap-dma.h
index e5a7013..88fa8af 100644
--- a/include/linux/omap-dma.h
+++ b/include/linux/omap-dma.h
@@ -17,7 +17,7 @@
 
 #include <linux/platform_device.h>
 
-#define INT_DMA_LCD			25
+#define INT_DMA_LCD			(NR_IRQS_LEGACY + 25)
 
 #define OMAP1_DMA_TOUT_IRQ		(1 << 0)
 #define OMAP_DMA_DROP_IRQ		(1 << 1)
-- 
2.4.0

  reply	other threads:[~2015-10-26 18:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 19:37 [BISECTED] Nokia 770 framebuffer breakage Aaro Koskinen
2015-10-19 19:37 ` Aaro Koskinen
2015-10-19 20:05 ` Russell King - ARM Linux
2015-10-19 20:05   ` Russell King - ARM Linux
2015-10-19 22:24   ` Aaro Koskinen
2015-10-19 22:24     ` Aaro Koskinen
2015-10-19 22:50     ` Russell King - ARM Linux
2015-10-19 22:50       ` Russell King - ARM Linux
2015-10-20  8:50       ` Aaro Koskinen
2015-10-20  8:50         ` Aaro Koskinen
2015-10-20  9:07         ` Russell King - ARM Linux
2015-10-20  9:07           ` Russell King - ARM Linux
2015-10-20 16:05           ` Russell King - ARM Linux
2015-10-20 16:05             ` Russell King - ARM Linux
2015-10-20 16:14             ` Aaro Koskinen
2015-10-20 16:14               ` Aaro Koskinen
2015-10-20 16:28               ` Russell King - ARM Linux
2015-10-20 16:28                 ` Russell King - ARM Linux
2015-10-20 14:47         ` Tony Lindgren
2015-10-20 14:47           ` Tony Lindgren
2015-10-26 18:41           ` Aaro Koskinen [this message]
2015-10-26 18:41             ` [PATCH] ARM: OMAP1: fix incorrect INT_DMA_LCD Aaro Koskinen
     [not found] <1445883833-12179-1-git-send-email-aaro.koskinen@iki.fi>
2015-10-28 17:10 ` Tony Lindgren
2015-10-28 17:10   ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445884903-12224-1-git-send-email-aaro.koskinen@iki.fi \
    --to=aaro.koskinen@iki.fi \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.