History

ASoC: soc-acpi: add information on I2S/TDM link mask

The platform driver may have information on which I2S/TDM link(s) to enable in the machine driver. In the case of Intel devices, this may be extracted from NHLT tables in platform firmware. This link information is necessary to make sure machine driver and topology are aligned.

Pierre-Louis Bossart committed 4 years ago

Commit 679aa831 parent 11744421 file · +2 −0Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/sound/soc-acpi.h+2−0
@@ -64,6 +64,7 @@ static inline struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg) · 63 unmodified lines
64 * @common_hdmi_codec_drv: use commom HDAudio HDMI codec driver64 * @common_hdmi_codec_drv: use commom HDAudio HDMI codec driver
65 * @link_mask: SoundWire links enabled on the board65 * @link_mask: SoundWire links enabled on the board
66 * @links: array of SoundWire link _ADR descriptors, null terminated66 * @links: array of SoundWire link _ADR descriptors, null terminated
67 * @i2s_link_mask: I2S/TDM links enabled on the board
67 * @num_dai_drivers: number of elements in @dai_drivers68 * @num_dai_drivers: number of elements in @dai_drivers
68 * @dai_drivers: pointer to dai_drivers, used e.g. in nocodec mode69 * @dai_drivers: pointer to dai_drivers, used e.g. in nocodec mode
69 */70 */
@@ -75,6 +76,7 @@ struct snd_soc_acpi_mach_params { · 5 unmodified lines
75 bool common_hdmi_codec_drv;76 bool common_hdmi_codec_drv;
76 u32 link_mask;77 u32 link_mask;
77 const struct snd_soc_acpi_link_adr *links;78 const struct snd_soc_acpi_link_adr *links;
79 u32 i2s_link_mask;
78 u32 num_dai_drivers;80 u32 num_dai_drivers;
79 struct snd_soc_dai_driver *dai_drivers;81 struct snd_soc_dai_driver *dai_drivers;
80};82};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t