topology2: add missing num_audio_formats for gain

The default class level num_audio_formats for gain is
removed in 773a05a32ec130fc3661e6ac8f89c937d356ce98,
which causes gain widget num_audio_formats parsing issue
in the kernel for topology with below two pipelines:
  - dai-copier-gain-mixin-capture
  - host-copier-gain-mixin-playback

This patch adds num_audio_formats for gain widget in
above two pipelines.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
2 files changed
tree: 130525636d6e77ad2b2a1985ff1b17e059fcf56e
  1. .github/
  2. doc/
  3. installer/
  4. keys/
  5. overlays/
  6. scripts/
  7. smex/
  8. src/
  9. test/
  10. third_party/
  11. tools/
  12. zephyr/
  13. .gitignore
  14. .gitmodules
  15. .travis.yml
  16. CMakeLists.txt
  17. CODEOWNERS
  18. Kconfig
  19. Kconfig.sof
  20. Kconfig.xtos-build
  21. Kconfig.xtos-dbg
  22. Kconfig.zephyr-log
  23. LICENCE
  24. 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