1. Jan 31, 2018
  2. Jan 30, 2018
  3. Jan 19, 2018
  4. Jan 15, 2018
  5. Jan 09, 2018
  6. Jan 08, 2018
  7. Dec 22, 2017
  8. Dec 15, 2017
    • Andreas Platschek's avatar
      dmaengine: fsl-edma: disable clks on all error paths · 2610acf4
      Andreas Platschek authored
      
      
      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: default avatarAndreas Platschek <andreas.platschek@opentech.at>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      2610acf4
  9. Dec 13, 2017
  10. Dec 12, 2017
    • Sinan Kaya's avatar
      dmaengine: qcom_hidma: check pending interrupts · 38680bc6
      Sinan Kaya authored
      
      
      Driver is missing the interrupts if two requests are queued up at the same
      time as the interrupt handler is servicing a request that was just
      delivered.
      
      The ISR clears the interrupt at the end but it could be clearing the
      interrupt for an outstanding event. Therefore, second interrupt never
      arrives.
      
      Clear the interrupt first and then check for completions.
      
      Also, make sure that request start and interrupt clear do not overlap in
      time by using a spinlock.
      
      Signed-off-by: default avatarSinan Kaya <okaya@codeaurora.org>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      38680bc6
  11. Dec 11, 2017
  12. Dec 05, 2017
  13. Nov 29, 2017