[go: nahoru, domu]

drivers: Intel: SSP: fix update of DAI config in prepared state

The checks added in commit fc73578be774 ("drivers: Intel: SSP: ignore
config when SSP is already configured") also filter out cases where the
SSP parameters actually are modified in prepare state. This will happen
e.g. with a topology that has multiple configs for SSP and uses static
topology loading.

Modify the checks such that reconfiguration is done if:
 - the config is actually modified,
 - early MCLK/BCLK is not running.

BugLink: https://github.com/thesofproject/sof/issues/5375
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
(cherry picked from commit bcc789f981c908a3f1f68247ba4ff71ef6e7c227)
1 file changed
tree: 44549551525fd88b34afb977f9d89b55b77e3e59
  1. .github/
  2. doc/
  3. installer/
  4. keys/
  5. scripts/
  6. smex/
  7. src/
  8. test/
  9. third_party/
  10. tools/
  11. zephyr/
  12. .gitignore
  13. .gitmodules
  14. .travis.yml
  15. CMakeLists.txt
  16. CODEOWNERS
  17. Kconfig
  18. LICENCE
  19. README.md
README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter chat IRC chat

Documentation

See docs

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details