mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 08:04:24 -04:00
ASoC: intel: remove dpcm_xxx flags
dpcm_xxx flags are no longer needed. It converts dpcm_xxx flag to xxx_only if needed. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87froq9vi9.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
90bbbf612f
commit
d26aed5eba
@@ -203,8 +203,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->exit = avs_da7219_codec_exit;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ static struct snd_soc_dai_link card_dai_links[] = {
|
||||
{
|
||||
.name = "DMIC",
|
||||
.id = 0,
|
||||
.dpcm_capture = 1,
|
||||
.capture_only = 1,
|
||||
.nonatomic = 1,
|
||||
.no_pcm = 1,
|
||||
SND_SOC_DAILINK_REG(dmic_pin, dmic_codec, platform),
|
||||
@@ -30,7 +30,7 @@ static struct snd_soc_dai_link card_dai_links[] = {
|
||||
{
|
||||
.name = "DMIC WoV",
|
||||
.id = 1,
|
||||
.dpcm_capture = 1,
|
||||
.capture_only = 1,
|
||||
.nonatomic = 1,
|
||||
.no_pcm = 1,
|
||||
.ignore_suspend = 1,
|
||||
|
||||
@@ -233,8 +233,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->ops = &avs_es8336_ops;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
|
||||
@@ -39,8 +39,6 @@ static int avs_create_dai_links(struct device *dev, struct hda_codec *codec, int
|
||||
dl[i].id = i;
|
||||
dl[i].nonatomic = 1;
|
||||
dl[i].no_pcm = 1;
|
||||
dl[i].dpcm_playback = 1;
|
||||
dl[i].dpcm_capture = 1;
|
||||
dl[i].platforms = platform;
|
||||
dl[i].num_platforms = 1;
|
||||
dl[i].ignore_pmdown_time = 1;
|
||||
@@ -160,8 +158,6 @@ static const struct snd_soc_dai_link probing_link = {
|
||||
.id = -1,
|
||||
.nonatomic = 1,
|
||||
.no_pcm = 1,
|
||||
.dpcm_playback = 1,
|
||||
.dpcm_capture = 1,
|
||||
.cpus = &snd_soc_dummy_dlc,
|
||||
.num_cpus = 1,
|
||||
.init = avs_probing_link_init,
|
||||
|
||||
@@ -46,8 +46,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->id = 0;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->be_hw_params_fixup = avs_max98357a_be_fixup;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
dl->playback_only = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
|
||||
@@ -134,8 +134,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->be_hw_params_fixup = avs_max98373_be_fixup;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
dl->ignore_pmdown_time = 1;
|
||||
dl->ops = &avs_max98373_ops;
|
||||
|
||||
|
||||
@@ -131,8 +131,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->be_hw_params_fixup = avs_max98927_be_fixup;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
dl->ignore_pmdown_time = 1;
|
||||
dl->ops = &avs_max98927_ops;
|
||||
|
||||
|
||||
@@ -210,8 +210,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->ops = &avs_nau8825_ops;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
|
||||
@@ -184,8 +184,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->be_hw_params_fixup = avs_rt274_be_fixup;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
|
||||
@@ -153,8 +153,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->ops = &avs_rt286_ops;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
|
||||
@@ -173,8 +173,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->ops = &avs_rt298_ops;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->be_hw_params_fixup = avs_rt5514_be_fixup;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->capture_only = 1;
|
||||
dl->ops = &avs_rt5514_ops;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
@@ -171,8 +171,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->be_hw_params_fixup = avs_rt5663_be_fixup;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
dl->ops = &avs_rt5663_ops;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
@@ -242,8 +242,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->ops = &avs_rt5682_ops;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
|
||||
@@ -121,8 +121,6 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
|
||||
dl->be_hw_params_fixup = avs_ssm4567_be_fixup;
|
||||
dl->nonatomic = 1;
|
||||
dl->no_pcm = 1;
|
||||
dl->dpcm_capture = 1;
|
||||
dl->dpcm_playback = 1;
|
||||
dl->ignore_pmdown_time = 1;
|
||||
|
||||
*dai_link = dl;
|
||||
|
||||
Reference in New Issue
Block a user