Skip to content

[RFC]Suspend/Resume flow for APL#32

Closed
ranj063 wants to merge 10 commits into
thesofproject:topic/sof-devfrom
ranj063:topic/suspend
Closed

[RFC]Suspend/Resume flow for APL#32
ranj063 wants to merge 10 commits into
thesofproject:topic/sof-devfrom
ranj063:topic/suspend

Conversation

@ranj063

@ranj063 ranj063 commented Jul 13, 2018

Copy link
Copy Markdown
Collaborator

This patchset aims to implement the preliminary flow for suspend/resume for APL.

V2: Now the pipeline status is restored at resume by sending the ipc's to create all the components and set up the pipeline. With this change, the DSP is power off at suspend and when it resumes from suspend, audio playback works normally.

But when suspend is invoked while audio playback is in progress, playback does not resume and aplay quits with the error "pcm_write:2011: write error: Input/output error".

V3: changes made to reflect previous comments

Audio playback resumes normally after suspend/resume.

V4: Added support for runtime PM and made changes based on previous feedback.

Now, both runtime PM and suspend/resume work well.

2 tasks still left to do:

  1. store/restore kcontrol values
  2. free sroute/connect during route_unload.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants