1. 31 1月, 2018 15 次提交
  2. 30 1月, 2018 1 次提交
  3. 19 1月, 2018 1 次提交
  4. 15 1月, 2018 1 次提交
  5. 09 1月, 2018 1 次提交
  6. 08 1月, 2018 5 次提交
  7. 22 12月, 2017 3 次提交
  8. 18 12月, 2017 12 次提交
  9. 15 12月, 2017 1 次提交
    • A
      dmaengine: fsl-edma: disable clks on all error paths · 2610acf4
      Andreas Platschek 提交于
      Previously enabled clks are only disabled if clk_prepare_enable() fails.
      However, there are other error paths were the previously enabled
      clocks are not disabled.
      
      To fix the problem, fsl_disable_clocks() now takes the number of clocks
      that shall be disabled + unprepared. For existing calls were all clocks
      were already successfully prepared + enabled, DMAMUX_NR is passed to
      disable + unprepare all clocks.
      
      In error paths were only some clocks were successfully prepared +
      enabled the loop counter is passed, in order to disable + unprepare
      all successfully prepared + enabled clocks.
      
      Found by Linux Driver Verification project (linuxtesting.org).
      Signed-off-by: NAndreas Platschek <andreas.platschek@opentech.at>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      2610acf4