History

ASoC: SOF: topology: Get HDA rate and channels from topology

FW interface for HDA DAI parameters was extended with information on sampling rate and channel count in version 3.16. Align kernel header with the FW change. This change is backwards compatible. Old firmware will ignore the values.

Bard Liao committed 6 years ago

Commit 18aaab61 parent 15bf1834 files · +16 −1Browse files

Showing the changes to include/uapi (2 of 4 files). Show all

Unified · Split

2 files
  1. include/uapi/sound/sof/abi.h +1 −1
  2. include/uapi/sound/sof/tokens.h +4 −0
include/uapi/sound/sof/abi.h+1−1
@@ -26,7 +26,7 @@ · 25 unmodified lines
26 26
27/* SOF ABI version major, minor and patch numbers */27/* SOF ABI version major, minor and patch numbers */
28#define SOF_ABI_MAJOR 328#define SOF_ABI_MAJOR 3
29#define SOF_ABI_MINOR 1529#define SOF_ABI_MINOR 16
30#define SOF_ABI_PATCH 030#define SOF_ABI_PATCH 0
31 31
32/* SOF ABI version number. Format within 32bit word is MMmmmppp */32/* SOF ABI version number. Format within 32bit word is MMmmmppp */
include/uapi/sound/sof/tokens.h+4−0
@@ -130,4 +130,8 @@ · 129 unmodified lines
130#define SOF_TKN_INTEL_ALH_RATE 1400130#define SOF_TKN_INTEL_ALH_RATE 1400
131#define SOF_TKN_INTEL_ALH_CH 1401131#define SOF_TKN_INTEL_ALH_CH 1401
132 132
133/* HDA */
134#define SOF_TKN_INTEL_HDA_RATE 1500
135#define SOF_TKN_INTEL_HDA_CH 1501
136
133#endif137#endif