Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC]host:remove the useless state set. #123

Merged
merged 1 commit into from Jul 18, 2018
Merged

[RFC]host:remove the useless state set. #123

merged 1 commit into from Jul 18, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jul 18, 2018

  1. when the stop command comes, the host's state
    is set in host_trigger() function with PREPARE.
    it should not be set with PAUSED in host_stop().
  2. when the host_pointer_reset() called, it does
    not need to set host state to READY state.the caller
    will do this job.

Signed-off-by: Wu Zhigang zhigang.wu@linux.intel.com

1. when the stop command comes, the host's state
is set in host_trigger() function with PREPARE.
it should not be set with PAUSED in host_stop().
2. when the host_pointer_reset() called, it does
not need to set host state to READY state.the caller
will do this job.

Signed-off-by: Wu Zhigang <zhigang.wu@linux.intel.com>
@lgirdwood lgirdwood merged commit d25572a into thesofproject:master Jul 18, 2018
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.

None yet

1 participant