1. 29 Jan, 2015 1 commit
    • Jisheng Zhang's avatar
      mmc: sdhci-pxav3: fix setting of pdata->clk_delay_cycles · 14460dba
      Jisheng Zhang authored
      Current code checks "clk_delay_cycles > 0" to know whether the optional
      "mrvl,clk_delay_cycles" is set or not. But of_property_read_u32() doesn't
      touch clk_delay_cycles if the property is not set. And type of
      clk_delay_cycles is u32, so we may always set pdata->clk_delay_cycles as a
      random value.
      
      This patch fix this problem by check the return value of of_property_read_u32()
      to know whether the optional clk-delay-cycles is set or not.
      Signed-off-by: default avatarJisheng Zhang <jszhang@marvell.com>
      Cc: <stable@vger.kernel.org> # v3.6+
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      14460dba
  2. 28 Jan, 2015 11 commits
  3. 21 Jan, 2015 6 commits
  4. 20 Jan, 2015 22 commits