From: Kevin Hilman Subject: [PATCH 09/11] OMAP4: UART: cleanup special case IRQ handling Date: Thu, 25 Jun 2009 09:42:02 -0700 Message-ID: <1245948124-24111-10-git-send-email-khilman@deeprootsystems.com> References: <1245948124-24111-1-git-send-email-khilman@deeprootsystems.com> <1245948124-24111-2-git-send-email-khilman@deeprootsystems.com> <1245948124-24111-3-git-send-email-khilman@deeprootsystems.com> <1245948124-24111-4-git-send-email-khilman@deeprootsystems.com> <1245948124-24111-5-git-send-email-khilman@deeprootsystems.com> <1245948124-24111-6-git-send-email-khilman@deeprootsystems.com> <1245948124-24111-7-git-send-email-khilman@deeprootsystems.com> <1245948124-24111-8-git-send-email-khilman@deeprootsystems.com> <1245948124-24111-9-git-send-email-khilman@deeprootsystems.com> Return-path: Received: from mail-px0-f190.google.com ([209.85.216.190]:49012 "EHLO mail-px0-f190.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757637AbZFYQnf (ORCPT ); Thu, 25 Jun 2009 12:43:35 -0400 Received: by mail-px0-f190.google.com with SMTP id 28so1148479pxi.33 for ; Thu, 25 Jun 2009 09:43:39 -0700 (PDT) In-Reply-To: <1245948124-24111-9-git-send-email-khilman@deeprootsystems.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-arm-kernel@lists.arm.linux.org.uk Cc: linux-omap@vger.kernel.org Signed-off-by: Kevin Hilman --- arch/arm/mach-omap2/serial.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index b094c15..c82ec95 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c @@ -496,10 +496,6 @@ void __init omap_serial_init(void) if (info == NULL) return; - if (cpu_is_omap44xx()) { - for (i = 0; i < OMAP_MAX_NR_PORTS; i++) - serial_platform_data[i].irq += 32; - } for (i = 0; i < OMAP_MAX_NR_PORTS; i++) { struct plat_serial8250_port *p = serial_platform_data + i; @@ -533,6 +529,9 @@ void __init omap_serial_init(void) uart->p = p; list_add(&uart->node, &uart_list); + if (cpu_is_omap44xx()) + p->irq += 32; + omap_uart_enable_clocks(uart); omap_uart_reset(uart); omap_uart_idle_init(uart); -- 1.6.3.2