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

Clock stop cleanup #13

Merged

Commits on Dec 13, 2019

  1. Soundwire: bus: return in the while loop rather than break and return

    So we don't need extra if condition outside the while loop.
    
    Signed-off-by: Bard Liao <[email protected]>
    bardliao committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    62ae991 View commit details
    Browse the repository at this point in the history
  2. Soundwire: set is_slave only if the slave is attached

    We don't need to do anything for the slave if it is unattached.
    
    Signed-off-by: Bard Liao <[email protected]>
    bardliao committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    c43ede2 View commit details
    Browse the repository at this point in the history
  3. soundwire: test is_slave before list_for_each_entry(slave, &bus->slav…

    …es, node)
    
    We don't need to test each slave's status if we already know there
    is no slave attached.
    
    Signed-off-by: Bard Liao <[email protected]>
    bardliao committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    c7ed2c8 View commit details
    Browse the repository at this point in the history