I have made the following changes intended for :
  CE:Adaptation:N900 / kernel-adaptation-n900

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/5499

Thank You,
rojkov

[This message was auto-generated]

---

Request # 5499:

Messages from BOSS:
     WARNING check_package_is_complete_sources (kernel-adaptation-n900) failed: 
Failed to get source file list from spec or dsc: Failed to parse spec file: 
can't parse specfile
No dsc file found
     WARNING check_valid_changes (kernel-adaptation-n900) failed: Could not 
parse spec in kernel-adaptation-n900: can't parse specfile


State: review at 2012-08-10T15:13:27 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: home:rojkov:branches:CE:Adaptation:N900 / kernel-adaptation-n900 -> 
CE:Adaptation:N900 / kernel-adaptation-n900
  
changes files:
--------------
--- kernel.changes
+++ kernel.changes
@@ -0,0 +1,4 @@
+* Fri Aug 10 2012 Dmitry Rozhkov <[email protected]> - 2.6.37
+- Adjust timings in MMC core driver to conform to the SD specs.
+  Fixes NEMO#92.
+

new:
----
  0001-mmc-Adjust-timings-for-power-ramping-up.patch

spec files:
-----------
--- kernel-adaptation-n900.spec
+++ kernel-adaptation-n900.spec
@@ -536,6 +536,8 @@
 Patch801: linux-2.6.35-fatal-signals.patch
 Patch802: 000-kcflag-mno-unaligned-access.patch
 
+Patch803: 0001-mmc-Adjust-timings-for-power-ramping-up.patch
+
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
 
@@ -1179,6 +1181,9 @@
 # 000-kcflag-mno-unaligned-access.patch
 %patch802 -p1
 
+# 0001-mmc-Adjust-timings-for-power-ramping-up.patch
+%patch803 -p1
+
 # Drop some necessary files from the source dir into the buildroot
 cp $RPM_SOURCE_DIR/config-* .
 cp %{SOURCE15} .

other changes:
--------------

++++++ 0001-mmc-Adjust-timings-for-power-ramping-up.patch (new)
--- 0001-mmc-Adjust-timings-for-power-ramping-up.patch
+++ 0001-mmc-Adjust-timings-for-power-ramping-up.patch
@@ -0,0 +1,34 @@
+From ceb13ae8156fd0b1fc6a27b352855fc02f651928 Mon Sep 17 00:00:00 2001
+From: Dmitry Rozhkov <[email protected]>
+Date: Fri, 10 Aug 2012 15:07:19 +0300
+Subject: [PATCH] mmc: Adjust timings for power ramping up
+
+According to p6.4.1.1 of Physical Layer Simplified Specification
+Ver3.01 the "host needs to keep power line level less than 0.5V and
+more than 1ms before power ramp up". This patch adds a delay
+of 10ms before powering up the host.
+---
+ drivers/mmc/core/core.c |    7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
+index 57dcf8f..1c110f3 100644
+--- a/drivers/mmc/core/core.c
++++ b/drivers/mmc/core/core.c
+@@ -899,6 +899,13 @@ static void mmc_power_up(struct mmc_host *host)
+ {
+       int bit;
+ 
++      /*
++       * According to p6.4.1.1 of Physical Layer Simplified Specification
++       * Ver3.01 the "host needs to keep power line level less than 0.5V and
++       * more than 1ms before power ramp up".
++       */
++      mmc_delay(10);
++
+       /* If ocr is set, we use it */
+       if (host->ocr)
+               bit = ffs(host->ocr) - 1;
+-- 
+1.7.9.5
+

++++++ series
--- series
+++ series
@@ -379,3 +379,5 @@
 # crashes
 linux-2.6.35-fatal-signals.patch
 000-kcflag-mno-unaligned-access.patch
+
+0001-mmc-Adjust-timings-for-power-ramping-up.patch



Reply via email to