From patchwork Tue Jan 4 13:51:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Williamson X-Patchwork-Id: 450791 Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p04DoaGO012364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 4 Jan 2011 13:50:57 GMT Received: from dlep36.itg.ti.com ([157.170.170.91]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p04Dn1XG012855 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Jan 2011 07:49:01 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id p04Dn1b5016988; Tue, 4 Jan 2011 07:49:01 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 3021080627; Tue, 4 Jan 2011 07:49:01 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 1153C80626 for ; Tue, 4 Jan 2011 07:48:59 -0600 (CST) Received: from medina.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id p04DmwxP003530 for ; Tue, 4 Jan 2011 07:48:58 -0600 (CST) Received: from psmtp.com (na3sys009amx192.postini.com [74.125.149.173]) by medina.ext.ti.com (8.13.7/8.13.7) with SMTP id p04DmwKb013749 for ; Tue, 4 Jan 2011 07:48:58 -0600 Received: from source ([209.85.216.45]) by na3sys009amx192.postini.com ([74.125.148.10]) with SMTP; Tue, 04 Jan 2011 13:48:58 GMT Received: by qwk4 with SMTP id 4so14908132qwk.4 for ; Tue, 04 Jan 2011 05:48:57 -0800 (PST) Received: by 10.224.64.75 with SMTP id d11mr20374871qai.214.1294148937759; Tue, 04 Jan 2011 05:48:57 -0800 (PST) Received: from localhost.localdomain (rrcs-24-39-249-130.nys.biz.rr.com [24.39.249.130]) by mx.google.com with ESMTPS id h20sm12773116qck.12.2011.01.04.05.48.56 (version=SSLv3 cipher=RC4-MD5); Tue, 04 Jan 2011 05:48:57 -0800 (PST) From: Michael Williamson To: davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH 2/2] davinci: Disable modem status (CTS) interrupts on UART1 Date: Tue, 4 Jan 2011 08:51:02 -0500 Message-Id: <1294149062-31173-2-git-send-email-michael.williamson@criticallink.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1294149062-31173-1-git-send-email-michael.williamson@criticallink.com> References: <1294149062-31173-1-git-send-email-michael.williamson@criticallink.com> X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:80.53457/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.0750) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] Cc: khilman@deeprootsystems.com, gregkh@suse.de, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 04 Jan 2011 13:50:57 +0000 (UTC) diff --git a/arch/arm/mach-davinci/board-mityomapl138.c b/arch/arm/mach-davinci/board-mityomapl138.c index 0bb5f0c..87ffe06 100644 --- a/arch/arm/mach-davinci/board-mityomapl138.c +++ b/arch/arm/mach-davinci/board-mityomapl138.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include @@ -352,6 +353,16 @@ static struct platform_device da850_pm_device = { .id = -1, }; +static void __init mityomapl138_init_serial(void) +{ + struct davinci_soc_info *soc_info = &davinci_soc_info; + struct device *dev = &soc_info->serial_dev->dev; + struct plat_serial8250_port *p = dev->platform_data; + + p[1].flags |= UPF_NO_MSR; + davinci_serial_init(&mityomapl138_uart_config); +} + static void __init mityomapl138_init(void) { int ret; @@ -365,7 +376,7 @@ static void __init mityomapl138_init(void) if (ret) pr_warning("watchdog registration failed: %d\n", ret); - davinci_serial_init(&mityomapl138_uart_config); + mityomapl138_init_serial(); ret = da8xx_register_i2c(0, &mityomap_i2c_0_pdata); if (ret)