1. 25 8月, 2013 1 次提交
  2. 27 6月, 2013 1 次提交
  3. 27 5月, 2013 1 次提交
  4. 23 3月, 2013 3 次提交
    • T
      mmc: mvsdio: use dev_*() API instead of pr_*() API · e573d698
      Thomas Petazzoni 提交于
      The mvsdio driver was already using some dev_*() functions to print
      some messages, but still using pr_*() functions for some others. This
      patch converts all messages to use dev_*() functions.
      
      Many of the pr_*() function calls were printing the output of
      mmc_hostname() to preprend the message with an identifier for the
      device. Since the dev_*() functions do that automatically, this patch
      also gets rid of those string prefixes.
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      e573d698
    • T
      mmc: mvsdio: fix non-DT probing of GPIOs · 5e81441e
      Thomas Petazzoni 提交于
      Ralph Droms <rdroms@gmail.com> reported that 3.9-rc was breaking the
      SDIO interface on his Sheevaplug platform, and that the recent changes
      to the mvsdio driver are responsible for this breakage. Precisely, the
      regression has been introduced by 07728b77 (mmc: mvsdio: use
      slot-gpio for card detect gpio).
      
      After investigation, is turns out that the Sheevaplug does not have
      any "card detect" GPIO, and the Sheevaplug has not been converted to
      the Device Tree. Therefore, the Sheevaplug board code does not define
      a value for the .gpio_card_detect field of the mvsdio_platform_data
      structure, which means that its value is 0. Unfortunately,
      gpio_is_valid() considers 0 as a valid GPIO, and therefore calls
      mmc_gpio_request_cd(), which fails and makes the entire probing of the
      driver fail.
      
      In fact, in the previous mvsdio code, before the Device Tree binding
      was introduced, 0 was not considered as a valid GPIO. Therefore, this
      fix revert back to this behavior in the non-DT case, by setting the
      gpio_card_detect and gpio_write_protect local variables to -EINVAL
      when the corresponding fields of the mvsdio_platform_data structure
      are set to zero (i.e, left undefined). Of course, it prevents to use
      GPIO 0 as a card detect or write protect GPIO, but it was a defiency
      of the previous non-DT code, and the fix moving forward is to convert
      platforms to the Device Tree.
      
      The problem has been reproduced successfully on the Kirkwood-based
      Marvell DB-88F6281-BP Development Board (that doesn't use the Device
      Tree) and the fix has proven to work properly, after of course
      removing the gpio_card_detect field of the mvsdio_platform_data
      instance for this board.
      Reported-by: NRalph Droms <rdroms@gmail.com>
      Tested-by: NRalph Droms <rdroms@gmail.com>
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      5e81441e
    • J
      mmc: mvsdio: use module_platform_driver_probe() · 4a2d8ecc
      Jingoo Han 提交于
      This patch uses module_platform_driver_probe() macro which makes
      the code smaller and simpler.
      Signed-off-by: NJingoo Han <jg1.han@samsung.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      4a2d8ecc
  5. 25 2月, 2013 1 次提交
  6. 12 2月, 2013 3 次提交
  7. 29 1月, 2013 1 次提交
  8. 28 1月, 2013 3 次提交
  9. 23 1月, 2013 1 次提交
  10. 19 9月, 2012 1 次提交
  11. 25 7月, 2012 1 次提交
  12. 09 5月, 2012 1 次提交
  13. 14 12月, 2011 1 次提交
  14. 27 10月, 2011 1 次提交
  15. 23 10月, 2010 1 次提交
  16. 28 5月, 2010 1 次提交
  17. 21 7月, 2009 1 次提交
  18. 04 6月, 2009 3 次提交
  19. 04 5月, 2009 1 次提交
  20. 25 3月, 2009 1 次提交