Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/es8316', 'asoc/topic/fsi', 'asoc/topic/fsl' and 'asoc/topic/hdmi' into asoc-next
This commit is contained in:
@@ -67,14 +67,14 @@ struct hdmi_codec_cea_spk_alloc {
|
||||
};
|
||||
|
||||
/* Channel maps stereo HDMI */
|
||||
const struct snd_pcm_chmap_elem hdmi_codec_stereo_chmaps[] = {
|
||||
static const struct snd_pcm_chmap_elem hdmi_codec_stereo_chmaps[] = {
|
||||
{ .channels = 2,
|
||||
.map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } },
|
||||
{ }
|
||||
};
|
||||
|
||||
/* Channel maps for multi-channel playbacks, up to 8 n_ch */
|
||||
const struct snd_pcm_chmap_elem hdmi_codec_8ch_chmaps[] = {
|
||||
static const struct snd_pcm_chmap_elem hdmi_codec_8ch_chmaps[] = {
|
||||
{ .channels = 2, /* CA_ID 0x00 */
|
||||
.map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } },
|
||||
{ .channels = 4, /* CA_ID 0x01 */
|
||||
@@ -340,7 +340,7 @@ static unsigned long hdmi_codec_spk_mask_from_alloc(int spk_alloc)
|
||||
return spk_mask;
|
||||
}
|
||||
|
||||
void hdmi_codec_eld_chmap(struct hdmi_codec_priv *hcp)
|
||||
static void hdmi_codec_eld_chmap(struct hdmi_codec_priv *hcp)
|
||||
{
|
||||
u8 spk_alloc;
|
||||
unsigned long spk_mask;
|
||||
@@ -696,7 +696,7 @@ static const struct snd_soc_dai_driver hdmi_i2s_dai = {
|
||||
.name = "i2s-hifi",
|
||||
.id = DAI_ID_I2S,
|
||||
.playback = {
|
||||
.stream_name = "Playback",
|
||||
.stream_name = "I2S Playback",
|
||||
.channels_min = 2,
|
||||
.channels_max = 8,
|
||||
.rates = HDMI_RATES,
|
||||
@@ -711,7 +711,7 @@ static const struct snd_soc_dai_driver hdmi_spdif_dai = {
|
||||
.name = "spdif-hifi",
|
||||
.id = DAI_ID_SPDIF,
|
||||
.playback = {
|
||||
.stream_name = "Playback",
|
||||
.stream_name = "SPDIF Playback",
|
||||
.channels_min = 2,
|
||||
.channels_max = 2,
|
||||
.rates = HDMI_RATES,
|
||||
|
Reference in New Issue
Block a user