1. 10 5月, 2012 2 次提交
  2. 09 5月, 2012 3 次提交
  3. 25 4月, 2012 1 次提交
  4. 23 4月, 2012 1 次提交
  5. 22 4月, 2012 1 次提交
  6. 21 4月, 2012 5 次提交
  7. 06 4月, 2012 4 次提交
    • P
      mmc: use really long write timeout to deal with crappy cards · 3bdc9ba8
      Paul Walmsley 提交于
      Several people have noticed that crappy SD cards take much longer to
      complete multiple block writes than the 300ms that Linux specifies.
      Try to work around this by using a three second write timeout instead.
      
      This is a generalized version of a patch from Chase Maupin
      <Chase.Maupin@ti.com>, whose patch description said:
      
      * With certain SD cards timeouts like the following have been seen
        due to an improper calculation of the dto value:
          mmcblk0: error -110 transferring data, sector 4126233, nr 8,
          card status 0xc00
      * By removing the dto calculation and setting the timeout value
        to the maximum specified by the SD card specification part A2
        section 2.2.15 these timeouts can be avoided.
      * This change has been used by beagleboard users as well as the
        Texas Instruments SDK without a negative impact.
      * There are multiple discussion threads about this but the most
        relevant ones are:
          * http://talk.maemo.org/showthread.php?p=1000707#post1000707
          * http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42213.html
      * Original proposal for this fix was done by Sukumar Ghoral of
        Texas Instruments
      * Tested using a Texas Instruments AM335x EVM
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Tested-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      3bdc9ba8
    • S
      mmc: core: fix power class selection · 93fc5a47
      Subhash Jadavani 提交于
      mmc_select_powerclass() function returns error if eMMC
      VDD level supported by host is between 2.7v to 3.2v.
      
      According to eMMC specification, valid voltage for high
      voltage cards is 2.7v to 3.6v. This patch ensures that
      2.7v to 3.6v VDD range is treated as valid range.
      
      Also, failure to set the power class shouldn't be treated
      as fatal error because even if setting the power class
      fails, card can still work in default power class.
      If mmc_select_powerclass() returns error, just print
      the warning message and go ahead with rest of the card
      initialization.
      Signed-off-by: NSubhash Jadavani <subhashj@codeaurora.org>
      Acked-by: NGirish K S <girish.shivananjappa@linaro.org>
      Reviewed-by: NNamjae Jeon <linkinjeon@gmail.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      93fc5a47
    • R
      mmc: sdio: Use empty system suspend/resume callbacks at the bus level · e841a7c6
      Rafael J. Wysocki 提交于
      Neil Brown reports that commit 35cd133c
      
         PM: Run the driver callback directly if the subsystem one is not there
      
      breaks suspend for his libertas wifi, because SDIO has a protocol
      where the suspend method can return -ENOSYS and this means "There is
      no point in suspending, just turn me off".  Moreover, the suspend
      methods provided by SDIO drivers are not supposed to be called by
      the PM core or bus-level suspend routines (which aren't presend for
      SDIO).  Instead, when the SDIO core gets to suspend the device's
      ancestor, it calls the device driver's suspend function, catches the
      ENOSYS, and turns the device off.
      
      The commit above breaks the SDIO core's assumption that the device
      drivers' callbacks won't be executed if it doesn't provide any
      bus-level callbacks.  If fact, however, this assumption has never
      been really satisfied, because device class or device type suspend
      might very well use the driver's callback even without that commit.
      
      The simplest way to address this problem is to make the SDIO core
      tell the PM core to ignore driver callbacks, for example by providing
      no-operation suspend/resume callbacks at the bus level for it,
      which is implemented by this change.
      Reported-and-tested-by: NNeil Brown <neilb@suse.de>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      [stable: please apply to 3.3-stable only]
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      e841a7c6
    • S
      mmc: bus: print bus speed mode of UHS-I card · 6500c8ed
      Subhash Jadavani 提交于
      When UHS-I card is detected also print the bus speed mode in which
      UHS-I card will be running.
      Signed-off-by: NSubhash Jadavani <subhashj@codeaurora.org>
      Reviewed-by: NNamjae Jeon <linkinjeon@gmail.com>
      Acked-by: NAaron Lu <aaron.lu@amd.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      6500c8ed
  8. 28 3月, 2012 7 次提交
  9. 26 3月, 2012 2 次提交
  10. 05 3月, 2012 2 次提交
  11. 14 2月, 2012 6 次提交
  12. 13 1月, 2012 4 次提交
  13. 12 1月, 2012 2 次提交