From patchwork Mon May 30 12:33:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Santosh Shilimkar X-Patchwork-Id: 829832 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4UCXL82023627 for ; Mon, 30 May 2011 12:33:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756852Ab1E3MdT (ORCPT ); Mon, 30 May 2011 08:33:19 -0400 Received: from na3sys009aog115.obsmtp.com ([74.125.149.238]:48309 "EHLO na3sys009aog115.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756612Ab1E3MdS (ORCPT ); Mon, 30 May 2011 08:33:18 -0400 Received: from mail-gy0-f182.google.com ([209.85.160.182]) (using TLSv1) by na3sys009aob115.postini.com ([74.125.148.12]) with SMTP ID DSNKTeOOjUBM5Xk+rnKcDJU+l/AQpvpvuVxy@postini.com; Mon, 30 May 2011 05:33:18 PDT Received: by gyg13 with SMTP id 13so1689315gyg.41 for ; Mon, 30 May 2011 05:33:17 -0700 (PDT) Received: by 10.150.13.15 with SMTP id 15mr4064173ybm.103.1306758797098; Mon, 30 May 2011 05:33:17 -0700 (PDT) Received: from [172.24.137.243] (dragon.ti.com [192.94.94.33]) by mx.google.com with ESMTPS id o13sm707004ybk.4.2011.05.30.05.33.15 (version=SSLv3 cipher=OTHER); Mon, 30 May 2011 05:33:16 -0700 (PDT) Message-ID: <4DE38E88.1030402@ti.com> Date: Mon, 30 May 2011 18:03:12 +0530 From: Santosh Shilimkar User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: l-o CC: "Krishnamoorthy, Balaji T" Subject: V 3.0-rc1: [REPORT] OMAP MMC and CONSOLE Regression Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 30 May 2011 12:33:21 +0000 (UTC) While trying out V3.0-rc1, I noticed couple of regressions. Am posting this in case anybody come across same issues. 1.OMAP MMC code keep throwing "Pbias Voltage is not same as LDO" error continuously. Balaji is planning post right fix for the same, but just in case you get around this issue, reg = omap4_ctrl_pad_readl(control_pbias_offset); @@ -158,7 +159,14 @@ static void omap4_hsmmc1_after_set_reg(struct device *dev, int slot, OMAP4_USBC1_ICUSB_PWRDNZ_MASK); omap4_ctrl_pad_writel(reg, control_pbias_offset); /* 4 microsec delay for comparator to generate an error*/ - udelay(4); + timeout = jiffies + msecs_to_jiffies(500); + do { + reg = omap4_ctrl_pad_readl(control_pbias_offset); + if (!(reg & OMAP4_MMC1_PBIASLITE_VMODE_ERROR_MASK)) + break; + mdelay(1); + } while (!time_after(jiffies, timeout)); + reg = omap4_ctrl_pad_readl(control_pbias_offset); if (reg & OMAP4_MMC1_PBIASLITE_VMODE_ERROR_MASK) { pr_err("Pbias Voltage is not same as LDO\n"); 2. can't open /dev/ttyO2: No such file or directory This is not obvious console entry missing problem in FS. Need to look at this further. --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index b2f30be..94ae400 100644 --- a/arch/arm/mach-omap2/hsmmc.c +++ b/arch/arm/mach-omap2/hsmmc.c @@ -145,6 +145,7 @@ static void omap4_hsmmc1_after_set_reg(struct device *dev, int slot, int power_on, int vdd) { u32 reg; + unsigned long timeout; if (power_on) {