Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • dma
  • omap-dma.c
Find file BlameHistoryPermalink
  • Peter Ujfalusi's avatar
    dmaengine: omap-dma: Restore the CLINK_CTRL in resume path · bfb60745
    Peter Ujfalusi authored Sep 16, 2014
    
    
    When the audio stream is paused or suspended we stop the sDMA and when it
    is unpaused/resumed we start the channel without reconfiguring it.
    The omap_dma_stop() clears the link configuration when we pause the dma, but
    it is not setting it back on start. This will result only one audio buffer
    to be played back and the DMA will stop, since the linking is disabled.
    We need to restore the CLINK_CTRL register in case of resume.
    Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
    Acked-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    bfb60745