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>
1 file changed
tree: cf0d5dd91d61a3c02f204baa88b01ae13e73a58a
  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. Kconfig.sof
  19. Kconfig.xtos-build
  20. Kconfig.xtos-dbg
  21. LICENCE
  22. README.md
README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter 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