1. 30 10月, 2017 2 次提交
  2. 30 8月, 2017 2 次提交
  3. 20 6月, 2017 8 次提交
  4. 25 4月, 2017 2 次提交
  5. 13 2月, 2017 1 次提交
    • M
      mmc: use empty initializer list to zero-clear structures · c7836d15
      Masahiro Yamada 提交于
      In the MMC subsystem, we see such initializers that only clears the
      first member explicitly.
      
      For example,
      
        struct mmc_request mrq = {NULL};
      
      sets the first member (.sbc) to NULL explicitly.  However, this is
      an unstable form because we may insert a non-pointer member at the
      top of the struct mmc_request in the future. (if we do so, the
      compiler will spit warnings.)
      
      So, using a designated initializer is preferred coding style.  The
      expression above is equivalent to:
      
        struct mmc_request mrq = { .sbc = NULL };
      
      Of course, this does not express our intention.  We want to fill
      all struct members with zeros.  Please note struct members are
      implicitly zero-cleared unless otherwise specified in the initializer.
      
      After all, the most reasonable (and stable) form is:
      
        struct mmc_request mrq = {};
      
      Do likewise for mmc_command, mmc_data as well.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      c7836d15
  6. 16 1月, 2017 1 次提交
  7. 05 12月, 2016 3 次提交
  8. 29 11月, 2016 9 次提交
  9. 25 7月, 2016 2 次提交
  10. 29 2月, 2016 1 次提交
  11. 22 12月, 2015 1 次提交
  12. 27 10月, 2015 1 次提交
    • C
      mmc: mmc: extend the mmc_send_tuning() · 9979dbe5
      Chaotian Jing 提交于
      The mmc_execute_tuning() has already prepared the opcode,
      there is no need to prepare it again at mmc_send_tuning(),
      and, there is a BUG of mmc_send_tuning() to determine the opcode
      by bus width, assume eMMC was running at HS200, 4bit mode,
      then the mmc_send_tuning() will overwrite the opcode from CMD21
      to CMD19, then got error.
      
      in addition, extend an argument of "cmd_error" to allow getting
      if there was cmd error when tune response.
      Signed-off-by: NChaotian Jing <chaotian.jing@mediatek.com>
      [Ulf: Rebased patch]
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      9979dbe5
  13. 26 10月, 2015 1 次提交
  14. 01 6月, 2015 2 次提交
  15. 19 1月, 2015 1 次提交
  16. 08 12月, 2014 1 次提交
  17. 26 11月, 2014 1 次提交
  18. 10 11月, 2014 1 次提交