From: Jason Montleon <jmontleo@redhat.com> To: pierre-louis.bossart@linux.intel.com Cc: alsa-devel@alsa-project.org, broonie@kernel.org, cezary.rojewski@intel.com, ckeepax@opensource.cirrus.com, jmontleo@redhat.com, oder_chiou@realtek.com, regressions@lists.linux.dev, tiwai@suse.com, stable@vger.kernel.org Subject: [PATCH v4 2/2] ASoC: rt5677: fix legacy dai naming Date: Thu, 3 Nov 2022 10:46:12 -0400 [thread overview] Message-ID: <20221103144612.4431-2-jmontleo@redhat.com> (raw) In-Reply-To: <20221103144612.4431-1-jmontleo@redhat.com> Starting with 6.0-rc1 the CPU DAI is not registered and the sound card is unavailable. Adding legacy_dai_naming causes it to function properly again. Fixes: fc34ece41f71 ("ASoC: Refactor non_legacy_dai_naming flag") Signed-off-by: Jason Montleon <jmontleo@redhat.com> --- sound/soc/codecs/rt5677-spi.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c index 8f3993a4c1cc..d25703dd7499 100644 --- a/sound/soc/codecs/rt5677-spi.c +++ b/sound/soc/codecs/rt5677-spi.c @@ -396,15 +396,16 @@ static int rt5677_spi_pcm_probe(struct snd_soc_component *component) } static const struct snd_soc_component_driver rt5677_spi_dai_component = { - .name = DRV_NAME, - .probe = rt5677_spi_pcm_probe, - .open = rt5677_spi_pcm_open, - .close = rt5677_spi_pcm_close, - .hw_params = rt5677_spi_hw_params, - .hw_free = rt5677_spi_hw_free, - .prepare = rt5677_spi_prepare, - .pointer = rt5677_spi_pcm_pointer, - .pcm_construct = rt5677_spi_pcm_new, + .name = DRV_NAME, + .probe = rt5677_spi_pcm_probe, + .open = rt5677_spi_pcm_open, + .close = rt5677_spi_pcm_close, + .hw_params = rt5677_spi_hw_params, + .hw_free = rt5677_spi_hw_free, + .prepare = rt5677_spi_prepare, + .pointer = rt5677_spi_pcm_pointer, + .pcm_construct = rt5677_spi_pcm_new, + .legacy_dai_naming = 1, }; /* Select a suitable transfer command for the next transfer to ensure -- 2.37.3
WARNING: multiple messages have this Message-ID (diff)
From: Jason Montleon <jmontleo@redhat.com> To: pierre-louis.bossart@linux.intel.com Cc: oder_chiou@realtek.com, alsa-devel@alsa-project.org, ckeepax@opensource.cirrus.com, regressions@lists.linux.dev, jmontleo@redhat.com, cezary.rojewski@intel.com, stable@vger.kernel.org, tiwai@suse.com, broonie@kernel.org Subject: [PATCH v4 2/2] ASoC: rt5677: fix legacy dai naming Date: Thu, 3 Nov 2022 10:46:12 -0400 [thread overview] Message-ID: <20221103144612.4431-2-jmontleo@redhat.com> (raw) In-Reply-To: <20221103144612.4431-1-jmontleo@redhat.com> Starting with 6.0-rc1 the CPU DAI is not registered and the sound card is unavailable. Adding legacy_dai_naming causes it to function properly again. Fixes: fc34ece41f71 ("ASoC: Refactor non_legacy_dai_naming flag") Signed-off-by: Jason Montleon <jmontleo@redhat.com> --- sound/soc/codecs/rt5677-spi.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c index 8f3993a4c1cc..d25703dd7499 100644 --- a/sound/soc/codecs/rt5677-spi.c +++ b/sound/soc/codecs/rt5677-spi.c @@ -396,15 +396,16 @@ static int rt5677_spi_pcm_probe(struct snd_soc_component *component) } static const struct snd_soc_component_driver rt5677_spi_dai_component = { - .name = DRV_NAME, - .probe = rt5677_spi_pcm_probe, - .open = rt5677_spi_pcm_open, - .close = rt5677_spi_pcm_close, - .hw_params = rt5677_spi_hw_params, - .hw_free = rt5677_spi_hw_free, - .prepare = rt5677_spi_prepare, - .pointer = rt5677_spi_pcm_pointer, - .pcm_construct = rt5677_spi_pcm_new, + .name = DRV_NAME, + .probe = rt5677_spi_pcm_probe, + .open = rt5677_spi_pcm_open, + .close = rt5677_spi_pcm_close, + .hw_params = rt5677_spi_hw_params, + .hw_free = rt5677_spi_hw_free, + .prepare = rt5677_spi_prepare, + .pointer = rt5677_spi_pcm_pointer, + .pcm_construct = rt5677_spi_pcm_new, + .legacy_dai_naming = 1, }; /* Select a suitable transfer command for the next transfer to ensure -- 2.37.3
next prev parent reply other threads:[~2022-11-03 14:46 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-03 14:46 [PATCH v4 1/2] ASoC: rt5514: fix legacy dai naming Jason Montleon 2022-11-03 14:46 ` Jason Montleon 2022-11-03 14:46 ` Jason Montleon [this message] 2022-11-03 14:46 ` [PATCH v4 2/2] ASoC: rt5677: " Jason Montleon 2022-11-03 15:07 ` Charles Keepax 2022-11-03 15:07 ` Charles Keepax 2022-11-03 15:06 ` [PATCH v4 1/2] ASoC: rt5514: " Charles Keepax 2022-11-03 15:06 ` Charles Keepax 2022-11-04 8:20 ` kernel test robot 2022-11-04 14:56 ` Mark Brown 2022-11-04 14:56 ` Mark Brown
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221103144612.4431-2-jmontleo@redhat.com \ --to=jmontleo@redhat.com \ --cc=alsa-devel@alsa-project.org \ --cc=broonie@kernel.org \ --cc=cezary.rojewski@intel.com \ --cc=ckeepax@opensource.cirrus.com \ --cc=oder_chiou@realtek.com \ --cc=pierre-louis.bossart@linux.intel.com \ --cc=regressions@lists.linux.dev \ --cc=stable@vger.kernel.org \ --cc=tiwai@suse.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.