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

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
6464 * @common_hdmi_codec_drv: use commom HDAudio HDMI codec driver
6565 * @link_mask: SoundWire links enabled on the board
6666 * @links: array of SoundWire link _ADR descriptors, null terminated
67+ * @i2s_link_mask: I2S/TDM links enabled on the board
6768 * @num_dai_drivers: number of elements in @dai_drivers
6869 * @dai_drivers: pointer to dai_drivers, used e.g. in nocodec mode
6970 */
@@ -75,6 +76,7 @@ struct snd_soc_acpi_mach_params { · 5 unmodified lines
7576 bool common_hdmi_codec_drv;
7677 u32 link_mask;
7778 const struct snd_soc_acpi_link_adr *links;
79+ u32 i2s_link_mask;
7880 u32 num_dai_drivers;
7981 struct snd_soc_dai_driver *dai_drivers;
8082 };

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