1. 16 1月, 2020 3 次提交
  2. 03 12月, 2019 1 次提交
  3. 25 10月, 2019 2 次提交
  4. 22 8月, 2019 1 次提交
  5. 21 8月, 2019 1 次提交
  6. 31 7月, 2019 1 次提交
  7. 24 4月, 2019 3 次提交
  8. 26 1月, 2019 2 次提交
    • F
      mmc: mtk-sd: fix SPL compilation when GPIO=y and SPL_GPIO=n · 70dbbd72
      Fabien Parent 提交于
      It is not possible to link the SPL image when CONFIG_GPIO is enabled
      but CONFIG_SPL_GPIO is not.  Use the IS_ENABLED macro instead to
      correctly check whether CONFIG_{SPL_}GPIO is enabled.
      
      This commit fixes the following errors:
      	* undefined reference to `dm_gpio_get_value
      	* undefined reference to `gpio_request_by_name'
      Signed-off-by: NFabien Parent <fparent@baylibre.com>
      [trini: Move guard to fix warning in msdc_ops_get_wp()]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      70dbbd72
    • F
      mmc: mtk-sd: fix possible incomplete read ops · 924ed344
      Fabien Parent 提交于
      The code is checking for incomplete read when it see the INT_XFER_COMPL
      flag, but it forget to first check whether there is anything left in the
      FIFO to copy to the RX buffer. This means that sometimes we will get
      errors because of erroneous incomplete read operation.
      
      This commit fixes the driver re-ordering the code so that we first
      check for data inside the RX fifo and only after check the status
      of the INT_XFER_COMPL flag.
      Signed-off-by: NFabien Parent <fparent@baylibre.com>
      924ed344
  9. 29 11月, 2018 1 次提交