1. 25 5月, 2011 1 次提交
  2. 24 5月, 2011 1 次提交
  3. 23 5月, 2011 1 次提交
  4. 12 5月, 2011 2 次提交
  5. 11 5月, 2011 5 次提交
  6. 28 4月, 2011 1 次提交
  7. 21 4月, 2011 1 次提交
  8. 19 4月, 2011 3 次提交
  9. 10 4月, 2011 1 次提交
  10. 02 4月, 2011 1 次提交
  11. 31 3月, 2011 2 次提交
  12. 29 3月, 2011 4 次提交
  13. 16 3月, 2011 2 次提交
  14. 12 3月, 2011 1 次提交
  15. 08 3月, 2011 9 次提交
  16. 04 3月, 2011 3 次提交
  17. 24 2月, 2011 2 次提交
    • S
      ARM: Tegra: DMA: Fail safe if initialization fails · ccac0515
      Stephen Warren 提交于
      tegra_dma_init currently simply bails out early if any initialization fails.
      This skips various data-structure initialization. In turn, this means that
      tegra_dma_allocate_channel can still hand out channels. In this case, when
      tegra_dma_free_channel is called, which calls tegra_dma_cancel, the walking
      on ch->list will OOPS since the list's next/prev pointers may still be
      NULL.
      
      To solve this, add an explicit "initialized" flag, only set this once _init
      has fully completed successfully, and have _allocate_channel refuse to hand
      out channels if this is not set.
      
      While at it, simplify _init:
      * Remove redundant memsets
      * Use bitmap_fill to mark all channels as in-use up-front, and remove
        some now-redundant bitmap initialization loops.
      * Only mark a channel as free once all channel-related initialization has
        completed.
      
      Finally, the successful exit path from _init always has ret==0, so just
      hard-code that return. The error path still returns ret.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NColin Cross <ccross@android.com>
      ccac0515
    • S
      ARM: Tegra: Rename clk_dev1/2 to cdev1/2 · ddb7d5d8
      Stephen Warren 提交于
      The ASoC machine driver was written assuming my previous patch to add
      complete support for these clocks, which named them cdev1/2. Rename
      the clocks to match that, to avoid churn in the ASoC driver.
      
      This rename also makes the clocks more consistent with other Tegra
      clocks irrespective of any of that.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NColin Cross <ccross@android.com>
      ddb7d5d8