Commit 092a1362 authored by Takashi Iwai's avatar Takashi Iwai

Merge tag 'asoc-fix-v6.7-rc7' of...

Merge tag 'asoc-fix-v6.7-rc7' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Fixes for v6.7

Quite a big collection of fixes, as ever mostly in drivers.  There's one
framework fix for the HDMI CODEC where it wasn't handling startup
properly for some controllers, and one new x86 quirk, but otherwise all
local fixes or dropping things we don't want to see in a release.
parents ae53e219 8f0f0164
...@@ -62,7 +62,7 @@ static struct i2c_driver cs35l45_i2c_driver = { ...@@ -62,7 +62,7 @@ static struct i2c_driver cs35l45_i2c_driver = {
.driver = { .driver = {
.name = "cs35l45", .name = "cs35l45",
.of_match_table = cs35l45_of_match, .of_match_table = cs35l45_of_match,
.pm = &cs35l45_pm_ops, .pm = pm_ptr(&cs35l45_pm_ops),
}, },
.id_table = cs35l45_id_i2c, .id_table = cs35l45_id_i2c,
.probe = cs35l45_i2c_probe, .probe = cs35l45_i2c_probe,
......
...@@ -64,7 +64,7 @@ static struct spi_driver cs35l45_spi_driver = { ...@@ -64,7 +64,7 @@ static struct spi_driver cs35l45_spi_driver = {
.driver = { .driver = {
.name = "cs35l45", .name = "cs35l45",
.of_match_table = cs35l45_of_match, .of_match_table = cs35l45_of_match,
.pm = &cs35l45_pm_ops, .pm = pm_ptr(&cs35l45_pm_ops),
}, },
.id_table = cs35l45_id_spi, .id_table = cs35l45_id_spi,
.probe = cs35l45_spi_probe, .probe = cs35l45_spi_probe,
......
...@@ -947,6 +947,8 @@ static int cs35l45_enter_hibernate(struct cs35l45_private *cs35l45) ...@@ -947,6 +947,8 @@ static int cs35l45_enter_hibernate(struct cs35l45_private *cs35l45)
cs35l45_setup_hibernate(cs35l45); cs35l45_setup_hibernate(cs35l45);
regmap_set_bits(cs35l45->regmap, CS35L45_IRQ1_MASK_2, CS35L45_DSP_VIRT2_MBOX_MASK);
// Don't wait for ACK since bus activity would wake the device // Don't wait for ACK since bus activity would wake the device
regmap_write(cs35l45->regmap, CS35L45_DSP_VIRT1_MBOX_1, CSPL_MBOX_CMD_HIBERNATE); regmap_write(cs35l45->regmap, CS35L45_DSP_VIRT1_MBOX_1, CSPL_MBOX_CMD_HIBERNATE);
...@@ -967,6 +969,8 @@ static int cs35l45_exit_hibernate(struct cs35l45_private *cs35l45) ...@@ -967,6 +969,8 @@ static int cs35l45_exit_hibernate(struct cs35l45_private *cs35l45)
CSPL_MBOX_CMD_OUT_OF_HIBERNATE); CSPL_MBOX_CMD_OUT_OF_HIBERNATE);
if (!ret) { if (!ret) {
dev_dbg(cs35l45->dev, "Wake success at cycle: %d\n", j); dev_dbg(cs35l45->dev, "Wake success at cycle: %d\n", j);
regmap_clear_bits(cs35l45->regmap, CS35L45_IRQ1_MASK_2,
CS35L45_DSP_VIRT2_MBOX_MASK);
return 0; return 0;
} }
usleep_range(100, 200); usleep_range(100, 200);
...@@ -982,7 +986,7 @@ static int cs35l45_exit_hibernate(struct cs35l45_private *cs35l45) ...@@ -982,7 +986,7 @@ static int cs35l45_exit_hibernate(struct cs35l45_private *cs35l45)
return -ETIMEDOUT; return -ETIMEDOUT;
} }
static int __maybe_unused cs35l45_runtime_suspend(struct device *dev) static int cs35l45_runtime_suspend(struct device *dev)
{ {
struct cs35l45_private *cs35l45 = dev_get_drvdata(dev); struct cs35l45_private *cs35l45 = dev_get_drvdata(dev);
...@@ -999,7 +1003,7 @@ static int __maybe_unused cs35l45_runtime_suspend(struct device *dev) ...@@ -999,7 +1003,7 @@ static int __maybe_unused cs35l45_runtime_suspend(struct device *dev)
return 0; return 0;
} }
static int __maybe_unused cs35l45_runtime_resume(struct device *dev) static int cs35l45_runtime_resume(struct device *dev)
{ {
struct cs35l45_private *cs35l45 = dev_get_drvdata(dev); struct cs35l45_private *cs35l45 = dev_get_drvdata(dev);
int ret; int ret;
...@@ -1026,6 +1030,46 @@ static int __maybe_unused cs35l45_runtime_resume(struct device *dev) ...@@ -1026,6 +1030,46 @@ static int __maybe_unused cs35l45_runtime_resume(struct device *dev)
return ret; return ret;
} }
static int cs35l45_sys_suspend(struct device *dev)
{
struct cs35l45_private *cs35l45 = dev_get_drvdata(dev);
dev_dbg(cs35l45->dev, "System suspend, disabling IRQ\n");
disable_irq(cs35l45->irq);
return 0;
}
static int cs35l45_sys_suspend_noirq(struct device *dev)
{
struct cs35l45_private *cs35l45 = dev_get_drvdata(dev);
dev_dbg(cs35l45->dev, "Late system suspend, reenabling IRQ\n");
enable_irq(cs35l45->irq);
return 0;
}
static int cs35l45_sys_resume_noirq(struct device *dev)
{
struct cs35l45_private *cs35l45 = dev_get_drvdata(dev);
dev_dbg(cs35l45->dev, "Early system resume, disabling IRQ\n");
disable_irq(cs35l45->irq);
return 0;
}
static int cs35l45_sys_resume(struct device *dev)
{
struct cs35l45_private *cs35l45 = dev_get_drvdata(dev);
dev_dbg(cs35l45->dev, "System resume, reenabling IRQ\n");
enable_irq(cs35l45->irq);
return 0;
}
static int cs35l45_apply_property_config(struct cs35l45_private *cs35l45) static int cs35l45_apply_property_config(struct cs35l45_private *cs35l45)
{ {
struct device_node *node = cs35l45->dev->of_node; struct device_node *node = cs35l45->dev->of_node;
...@@ -1466,10 +1510,12 @@ void cs35l45_remove(struct cs35l45_private *cs35l45) ...@@ -1466,10 +1510,12 @@ void cs35l45_remove(struct cs35l45_private *cs35l45)
} }
EXPORT_SYMBOL_NS_GPL(cs35l45_remove, SND_SOC_CS35L45); EXPORT_SYMBOL_NS_GPL(cs35l45_remove, SND_SOC_CS35L45);
const struct dev_pm_ops cs35l45_pm_ops = { EXPORT_GPL_DEV_PM_OPS(cs35l45_pm_ops) = {
SET_RUNTIME_PM_OPS(cs35l45_runtime_suspend, cs35l45_runtime_resume, NULL) RUNTIME_PM_OPS(cs35l45_runtime_suspend, cs35l45_runtime_resume, NULL)
SYSTEM_SLEEP_PM_OPS(cs35l45_sys_suspend, cs35l45_sys_resume)
NOIRQ_SYSTEM_SLEEP_PM_OPS(cs35l45_sys_suspend_noirq, cs35l45_sys_resume_noirq)
}; };
EXPORT_SYMBOL_NS_GPL(cs35l45_pm_ops, SND_SOC_CS35L45);
MODULE_DESCRIPTION("ASoC CS35L45 driver"); MODULE_DESCRIPTION("ASoC CS35L45 driver");
MODULE_AUTHOR("James Schulman, Cirrus Logic Inc, <james.schulman@cirrus.com>"); MODULE_AUTHOR("James Schulman, Cirrus Logic Inc, <james.schulman@cirrus.com>");
......
...@@ -237,7 +237,7 @@ int cs42l43_set_jack(struct snd_soc_component *component, ...@@ -237,7 +237,7 @@ int cs42l43_set_jack(struct snd_soc_component *component,
return ret; return ret;
} }
static void cs42l43_start_hs_bias(struct cs42l43_codec *priv, bool force_high) static void cs42l43_start_hs_bias(struct cs42l43_codec *priv, bool type_detect)
{ {
struct cs42l43 *cs42l43 = priv->core; struct cs42l43 *cs42l43 = priv->core;
unsigned int val = 0x3 << CS42L43_HSBIAS_MODE_SHIFT; unsigned int val = 0x3 << CS42L43_HSBIAS_MODE_SHIFT;
...@@ -247,10 +247,11 @@ static void cs42l43_start_hs_bias(struct cs42l43_codec *priv, bool force_high) ...@@ -247,10 +247,11 @@ static void cs42l43_start_hs_bias(struct cs42l43_codec *priv, bool force_high)
regmap_update_bits(cs42l43->regmap, CS42L43_HS2, regmap_update_bits(cs42l43->regmap, CS42L43_HS2,
CS42L43_HS_CLAMP_DISABLE_MASK, CS42L43_HS_CLAMP_DISABLE_MASK); CS42L43_HS_CLAMP_DISABLE_MASK, CS42L43_HS_CLAMP_DISABLE_MASK);
if (!force_high && priv->bias_low) if (!type_detect) {
if (priv->bias_low)
val = 0x2 << CS42L43_HSBIAS_MODE_SHIFT; val = 0x2 << CS42L43_HSBIAS_MODE_SHIFT;
if (priv->bias_sense_ua) { if (priv->bias_sense_ua)
regmap_update_bits(cs42l43->regmap, regmap_update_bits(cs42l43->regmap,
CS42L43_HS_BIAS_SENSE_AND_CLAMP_AUTOCONTROL, CS42L43_HS_BIAS_SENSE_AND_CLAMP_AUTOCONTROL,
CS42L43_HSBIAS_SENSE_EN_MASK | CS42L43_HSBIAS_SENSE_EN_MASK |
......
...@@ -850,7 +850,8 @@ static int hdmi_dai_probe(struct snd_soc_dai *dai) ...@@ -850,7 +850,8 @@ static int hdmi_dai_probe(struct snd_soc_dai *dai)
static void hdmi_codec_jack_report(struct hdmi_codec_priv *hcp, static void hdmi_codec_jack_report(struct hdmi_codec_priv *hcp,
unsigned int jack_status) unsigned int jack_status)
{ {
if (hcp->jack && jack_status != hcp->jack_status) { if (jack_status != hcp->jack_status) {
if (hcp->jack)
snd_soc_jack_report(hcp->jack, jack_status, SND_JACK_LINEOUT); snd_soc_jack_report(hcp->jack, jack_status, SND_JACK_LINEOUT);
hcp->jack_status = jack_status; hcp->jack_status = jack_status;
} }
...@@ -880,6 +881,13 @@ static int hdmi_codec_set_jack(struct snd_soc_component *component, ...@@ -880,6 +881,13 @@ static int hdmi_codec_set_jack(struct snd_soc_component *component,
if (hcp->hcd.ops->hook_plugged_cb) { if (hcp->hcd.ops->hook_plugged_cb) {
hcp->jack = jack; hcp->jack = jack;
/*
* Report the initial jack status which may have been provided
* by the parent hdmi driver while the hpd hook was registered.
*/
snd_soc_jack_report(jack, hcp->jack_status, SND_JACK_LINEOUT);
return 0; return 0;
} }
......
...@@ -2189,11 +2189,11 @@ int tasdevice_select_tuningprm_cfg(void *context, int prm_no, ...@@ -2189,11 +2189,11 @@ int tasdevice_select_tuningprm_cfg(void *context, int prm_no,
goto out; goto out;
} }
conf = &(tas_fmw->configs[cfg_no]);
for (i = 0, prog_status = 0; i < tas_priv->ndev; i++) { for (i = 0, prog_status = 0; i < tas_priv->ndev; i++) {
if (cfg_info[rca_conf_no]->active_dev & (1 << i)) { if (cfg_info[rca_conf_no]->active_dev & (1 << i)) {
if (tas_priv->tasdevice[i].cur_prog != prm_no if (prm_no >= 0
|| tas_priv->force_fwload_status) { && (tas_priv->tasdevice[i].cur_prog != prm_no
|| tas_priv->force_fwload_status)) {
tas_priv->tasdevice[i].cur_conf = -1; tas_priv->tasdevice[i].cur_conf = -1;
tas_priv->tasdevice[i].is_loading = true; tas_priv->tasdevice[i].is_loading = true;
prog_status++; prog_status++;
...@@ -2228,7 +2228,8 @@ int tasdevice_select_tuningprm_cfg(void *context, int prm_no, ...@@ -2228,7 +2228,8 @@ int tasdevice_select_tuningprm_cfg(void *context, int prm_no,
} }
for (i = 0, status = 0; i < tas_priv->ndev; i++) { for (i = 0, status = 0; i < tas_priv->ndev; i++) {
if (tas_priv->tasdevice[i].cur_conf != cfg_no if (cfg_no >= 0
&& tas_priv->tasdevice[i].cur_conf != cfg_no
&& (cfg_info[rca_conf_no]->active_dev & (1 << i)) && (cfg_info[rca_conf_no]->active_dev & (1 << i))
&& (tas_priv->tasdevice[i].is_loaderr == false)) { && (tas_priv->tasdevice[i].is_loaderr == false)) {
status++; status++;
...@@ -2238,6 +2239,7 @@ int tasdevice_select_tuningprm_cfg(void *context, int prm_no, ...@@ -2238,6 +2239,7 @@ int tasdevice_select_tuningprm_cfg(void *context, int prm_no,
} }
if (status) { if (status) {
conf = &(tas_fmw->configs[cfg_no]);
status = 0; status = 0;
tasdevice_load_data(tas_priv, &(conf->dev_data)); tasdevice_load_data(tas_priv, &(conf->dev_data));
for (i = 0; i < tas_priv->ndev; i++) { for (i = 0; i < tas_priv->ndev; i++) {
...@@ -2281,7 +2283,7 @@ int tasdevice_prmg_load(void *context, int prm_no) ...@@ -2281,7 +2283,7 @@ int tasdevice_prmg_load(void *context, int prm_no)
} }
for (i = 0, prog_status = 0; i < tas_priv->ndev; i++) { for (i = 0, prog_status = 0; i < tas_priv->ndev; i++) {
if (tas_priv->tasdevice[i].cur_prog != prm_no) { if (prm_no >= 0 && tas_priv->tasdevice[i].cur_prog != prm_no) {
tas_priv->tasdevice[i].cur_conf = -1; tas_priv->tasdevice[i].cur_conf = -1;
tas_priv->tasdevice[i].is_loading = true; tas_priv->tasdevice[i].is_loading = true;
prog_status++; prog_status++;
...@@ -2326,7 +2328,7 @@ int tasdevice_prmg_calibdata_load(void *context, int prm_no) ...@@ -2326,7 +2328,7 @@ int tasdevice_prmg_calibdata_load(void *context, int prm_no)
} }
for (i = 0, prog_status = 0; i < tas_priv->ndev; i++) { for (i = 0, prog_status = 0; i < tas_priv->ndev; i++) {
if (tas_priv->tasdevice[i].cur_prog != prm_no) { if (prm_no >= 0 && tas_priv->tasdevice[i].cur_prog != prm_no) {
tas_priv->tasdevice[i].cur_conf = -1; tas_priv->tasdevice[i].cur_conf = -1;
tas_priv->tasdevice[i].is_loading = true; tas_priv->tasdevice[i].is_loading = true;
prog_status++; prog_status++;
......
...@@ -714,6 +714,9 @@ static int fsl_sai_hw_free(struct snd_pcm_substream *substream, ...@@ -714,6 +714,9 @@ static int fsl_sai_hw_free(struct snd_pcm_substream *substream,
bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
unsigned int ofs = sai->soc_data->reg_offset; unsigned int ofs = sai->soc_data->reg_offset;
/* Clear xMR to avoid channel swap with mclk_with_tere enabled case */
regmap_write(sai->regmap, FSL_SAI_xMR(tx), 0);
regmap_update_bits(sai->regmap, FSL_SAI_xCR3(tx, ofs), regmap_update_bits(sai->regmap, FSL_SAI_xCR3(tx, ofs),
FSL_SAI_CR3_TRCE_MASK, 0); FSL_SAI_CR3_TRCE_MASK, 0);
......
...@@ -83,6 +83,7 @@ enum { ...@@ -83,6 +83,7 @@ enum {
#define BYT_RT5640_HSMIC2_ON_IN1 BIT(27) #define BYT_RT5640_HSMIC2_ON_IN1 BIT(27)
#define BYT_RT5640_JD_HP_ELITEP_1000G2 BIT(28) #define BYT_RT5640_JD_HP_ELITEP_1000G2 BIT(28)
#define BYT_RT5640_USE_AMCR0F28 BIT(29) #define BYT_RT5640_USE_AMCR0F28 BIT(29)
#define BYT_RT5640_SWAPPED_SPEAKERS BIT(30)
#define BYTCR_INPUT_DEFAULTS \ #define BYTCR_INPUT_DEFAULTS \
(BYT_RT5640_IN3_MAP | \ (BYT_RT5640_IN3_MAP | \
...@@ -157,6 +158,8 @@ static void log_quirks(struct device *dev) ...@@ -157,6 +158,8 @@ static void log_quirks(struct device *dev)
dev_info(dev, "quirk MONO_SPEAKER enabled\n"); dev_info(dev, "quirk MONO_SPEAKER enabled\n");
if (byt_rt5640_quirk & BYT_RT5640_NO_SPEAKERS) if (byt_rt5640_quirk & BYT_RT5640_NO_SPEAKERS)
dev_info(dev, "quirk NO_SPEAKERS enabled\n"); dev_info(dev, "quirk NO_SPEAKERS enabled\n");
if (byt_rt5640_quirk & BYT_RT5640_SWAPPED_SPEAKERS)
dev_info(dev, "quirk SWAPPED_SPEAKERS enabled\n");
if (byt_rt5640_quirk & BYT_RT5640_LINEOUT) if (byt_rt5640_quirk & BYT_RT5640_LINEOUT)
dev_info(dev, "quirk LINEOUT enabled\n"); dev_info(dev, "quirk LINEOUT enabled\n");
if (byt_rt5640_quirk & BYT_RT5640_LINEOUT_AS_HP2) if (byt_rt5640_quirk & BYT_RT5640_LINEOUT_AS_HP2)
...@@ -894,6 +897,19 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { ...@@ -894,6 +897,19 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
BYT_RT5640_SSP0_AIF1 | BYT_RT5640_SSP0_AIF1 |
BYT_RT5640_MCLK_EN), BYT_RT5640_MCLK_EN),
}, },
{
/* Medion Lifetab S10346 */
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "AMI Corporation"),
DMI_MATCH(DMI_BOARD_NAME, "Aptio CRB"),
/* Above strings are much too generic, also match on BIOS date */
DMI_MATCH(DMI_BIOS_DATE, "10/22/2015"),
},
.driver_data = (void *)(BYTCR_INPUT_DEFAULTS |
BYT_RT5640_SWAPPED_SPEAKERS |
BYT_RT5640_SSP0_AIF1 |
BYT_RT5640_MCLK_EN),
},
{ /* Mele PCG03 Mini PC */ { /* Mele PCG03 Mini PC */
.matches = { .matches = {
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Mini PC"), DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Mini PC"),
...@@ -1619,11 +1635,11 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev) ...@@ -1619,11 +1635,11 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev)
const char *platform_name; const char *platform_name;
struct acpi_device *adev; struct acpi_device *adev;
struct device *codec_dev; struct device *codec_dev;
const char *cfg_spk;
bool sof_parent; bool sof_parent;
int ret_val = 0; int ret_val = 0;
int dai_index = 0; int dai_index = 0;
int i, cfg_spk; int i, aif;
int aif;
is_bytcr = false; is_bytcr = false;
priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
...@@ -1783,13 +1799,16 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev) ...@@ -1783,13 +1799,16 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev)
} }
if (byt_rt5640_quirk & BYT_RT5640_NO_SPEAKERS) { if (byt_rt5640_quirk & BYT_RT5640_NO_SPEAKERS) {
cfg_spk = 0; cfg_spk = "0";
spk_type = "none"; spk_type = "none";
} else if (byt_rt5640_quirk & BYT_RT5640_MONO_SPEAKER) { } else if (byt_rt5640_quirk & BYT_RT5640_MONO_SPEAKER) {
cfg_spk = 1; cfg_spk = "1";
spk_type = "mono"; spk_type = "mono";
} else if (byt_rt5640_quirk & BYT_RT5640_SWAPPED_SPEAKERS) {
cfg_spk = "swapped";
spk_type = "swapped";
} else { } else {
cfg_spk = 2; cfg_spk = "2";
spk_type = "stereo"; spk_type = "stereo";
} }
...@@ -1804,7 +1823,7 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev) ...@@ -1804,7 +1823,7 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev)
headset2_string = " cfg-hs2:in1"; headset2_string = " cfg-hs2:in1";
snprintf(byt_rt5640_components, sizeof(byt_rt5640_components), snprintf(byt_rt5640_components, sizeof(byt_rt5640_components),
"cfg-spk:%d cfg-mic:%s aif:%d%s%s", cfg_spk, "cfg-spk:%s cfg-mic:%s aif:%d%s%s", cfg_spk,
map_name[BYT_RT5640_MAP(byt_rt5640_quirk)], aif, map_name[BYT_RT5640_MAP(byt_rt5640_quirk)], aif,
lineout_string, headset2_string); lineout_string, headset2_string);
byt_rt5640_card.components = byt_rt5640_components; byt_rt5640_card.components = byt_rt5640_components;
......
...@@ -306,13 +306,13 @@ static const struct snd_soc_acpi_adr_device cs35l56_1_adr[] = { ...@@ -306,13 +306,13 @@ static const struct snd_soc_acpi_adr_device cs35l56_1_adr[] = {
.adr = 0x00013701FA355601ull, .adr = 0x00013701FA355601ull,
.num_endpoints = 1, .num_endpoints = 1,
.endpoints = &spk_r_endpoint, .endpoints = &spk_r_endpoint,
.name_prefix = "cs35l56-8" .name_prefix = "AMP8"
}, },
{ {
.adr = 0x00013601FA355601ull, .adr = 0x00013601FA355601ull,
.num_endpoints = 1, .num_endpoints = 1,
.endpoints = &spk_3_endpoint, .endpoints = &spk_3_endpoint,
.name_prefix = "cs35l56-7" .name_prefix = "AMP7"
} }
}; };
...@@ -321,13 +321,13 @@ static const struct snd_soc_acpi_adr_device cs35l56_2_adr[] = { ...@@ -321,13 +321,13 @@ static const struct snd_soc_acpi_adr_device cs35l56_2_adr[] = {
.adr = 0x00023301FA355601ull, .adr = 0x00023301FA355601ull,
.num_endpoints = 1, .num_endpoints = 1,
.endpoints = &spk_l_endpoint, .endpoints = &spk_l_endpoint,
.name_prefix = "cs35l56-1" .name_prefix = "AMP1"
}, },
{ {
.adr = 0x00023201FA355601ull, .adr = 0x00023201FA355601ull,
.num_endpoints = 1, .num_endpoints = 1,
.endpoints = &spk_2_endpoint, .endpoints = &spk_2_endpoint,
.name_prefix = "cs35l56-2" .name_prefix = "AMP2"
} }
}; };
......
...@@ -597,9 +597,6 @@ static struct snd_sof_dsp_ops sof_mt8186_ops = { ...@@ -597,9 +597,6 @@ static struct snd_sof_dsp_ops sof_mt8186_ops = {
static struct snd_sof_of_mach sof_mt8186_machs[] = { static struct snd_sof_of_mach sof_mt8186_machs[] = {
{ {
.compatible = "google,steelix",
.sof_tplg_filename = "sof-mt8186-google-steelix.tplg"
}, {
.compatible = "mediatek,mt8186", .compatible = "mediatek,mt8186",
.sof_tplg_filename = "sof-mt8186.tplg", .sof_tplg_filename = "sof-mt8186.tplg",
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment