All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ASoC: ssm: Use modern ASoC DAI format terminology
@ 2022-06-02 13:05 Mark Brown
  2022-06-02 13:05 ` [PATCH 1/3] ASoC: ssm2518: " Mark Brown
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mark Brown @ 2022-06-02 13:05 UTC (permalink / raw)
  To: Lars-Peter Clausen, Nuno Sá, Liam Girdwood; +Cc: alsa-devel, Mark Brown

Trivial updates to modernise the various ssm* drivers to the new
DAI clocking constants.

Mark Brown (3):
  ASoC: ssm2518: Use modern ASoC DAI format terminology
  ASoC: ssm2602: Use modern ASoC DAI format terminology
  ASoC: ssm4567: Use modern ASoC DAI format terminology

 sound/soc/codecs/ssm2518.c | 4 ++--
 sound/soc/codecs/ssm2602.c | 6 +++---
 sound/soc/codecs/ssm4567.c | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] ASoC: ssm2518: Use modern ASoC DAI format terminology
  2022-06-02 13:05 [PATCH 0/3] ASoC: ssm: Use modern ASoC DAI format terminology Mark Brown
@ 2022-06-02 13:05 ` Mark Brown
  2022-06-02 13:05 ` [PATCH 2/3] ASoC: ssm2602: " Mark Brown
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2022-06-02 13:05 UTC (permalink / raw)
  To: Lars-Peter Clausen, Nuno Sá, Liam Girdwood; +Cc: alsa-devel, Mark Brown

As part of moving to remove the old style defines for the bus clocks update
the ssm2518 driver to use more modern terminology for clocking.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/ssm2518.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/ssm2518.c b/sound/soc/codecs/ssm2518.c
index 83acbdbb8e0d..012f209e76e9 100644
--- a/sound/soc/codecs/ssm2518.c
+++ b/sound/soc/codecs/ssm2518.c
@@ -409,8 +409,8 @@ static int ssm2518_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 	bool invert_fclk;
 	int ret;
 
-	switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
-	case SND_SOC_DAIFMT_CBS_CFS:
+	switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) {
+	case SND_SOC_DAIFMT_CBC_CFC:
 		break;
 	default:
 		return -EINVAL;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] ASoC: ssm2602: Use modern ASoC DAI format terminology
  2022-06-02 13:05 [PATCH 0/3] ASoC: ssm: Use modern ASoC DAI format terminology Mark Brown
  2022-06-02 13:05 ` [PATCH 1/3] ASoC: ssm2518: " Mark Brown
@ 2022-06-02 13:05 ` Mark Brown
  2022-06-02 13:05 ` [PATCH 3/3] ASoC: ssm4567: " Mark Brown
  2022-06-07 15:11 ` [PATCH 0/3] ASoC: ssm: " Mark Brown
  3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2022-06-02 13:05 UTC (permalink / raw)
  To: Lars-Peter Clausen, Nuno Sá, Liam Girdwood; +Cc: alsa-devel, Mark Brown

As part of moving to remove the old style defines for the bus clocks update
the ssm2602 driver to use more modern terminology for clocking.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/ssm2602.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c
index 7964e922b07f..1821854ca0f3 100644
--- a/sound/soc/codecs/ssm2602.c
+++ b/sound/soc/codecs/ssm2602.c
@@ -411,11 +411,11 @@ static int ssm2602_set_dai_fmt(struct snd_soc_dai *codec_dai,
 	unsigned int iface = 0;
 
 	/* set master/slave audio interface */
-	switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
-	case SND_SOC_DAIFMT_CBM_CFM:
+	switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) {
+	case SND_SOC_DAIFMT_CBP_CFP:
 		iface |= 0x0040;
 		break;
-	case SND_SOC_DAIFMT_CBS_CFS:
+	case SND_SOC_DAIFMT_CBC_CFC:
 		break;
 	default:
 		return -EINVAL;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] ASoC: ssm4567: Use modern ASoC DAI format terminology
  2022-06-02 13:05 [PATCH 0/3] ASoC: ssm: Use modern ASoC DAI format terminology Mark Brown
  2022-06-02 13:05 ` [PATCH 1/3] ASoC: ssm2518: " Mark Brown
  2022-06-02 13:05 ` [PATCH 2/3] ASoC: ssm2602: " Mark Brown
@ 2022-06-02 13:05 ` Mark Brown
  2022-06-07 15:11 ` [PATCH 0/3] ASoC: ssm: " Mark Brown
  3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2022-06-02 13:05 UTC (permalink / raw)
  To: Lars-Peter Clausen, Nuno Sá, Liam Girdwood; +Cc: alsa-devel, Mark Brown

As part of moving to remove the old style defines for the bus clocks update
the ssm4567 driver to use more modern terminology for clocking.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/ssm4567.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/ssm4567.c b/sound/soc/codecs/ssm4567.c
index 08ced09ef001..b47321c597d0 100644
--- a/sound/soc/codecs/ssm4567.c
+++ b/sound/soc/codecs/ssm4567.c
@@ -278,8 +278,8 @@ static int ssm4567_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 	unsigned int ctrl1 = 0;
 	bool invert_fclk;
 
-	switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
-	case SND_SOC_DAIFMT_CBS_CFS:
+	switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) {
+	case SND_SOC_DAIFMT_CBC_CFC:
 		break;
 	default:
 		return -EINVAL;
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] ASoC: ssm: Use modern ASoC DAI format terminology
  2022-06-02 13:05 [PATCH 0/3] ASoC: ssm: Use modern ASoC DAI format terminology Mark Brown
                   ` (2 preceding siblings ...)
  2022-06-02 13:05 ` [PATCH 3/3] ASoC: ssm4567: " Mark Brown
@ 2022-06-07 15:11 ` Mark Brown
  3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2022-06-07 15:11 UTC (permalink / raw)
  To: lgirdwood, lars, broonie, nuno.sa; +Cc: alsa-devel

On Thu, 2 Jun 2022 15:05:28 +0200, Mark Brown wrote:
> Trivial updates to modernise the various ssm* drivers to the new
> DAI clocking constants.
> 
> Mark Brown (3):
>   ASoC: ssm2518: Use modern ASoC DAI format terminology
>   ASoC: ssm2602: Use modern ASoC DAI format terminology
>   ASoC: ssm4567: Use modern ASoC DAI format terminology
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/3] ASoC: ssm2518: Use modern ASoC DAI format terminology
      commit: 8dc51d009fad7aba0575e0eb4b684d25c0f01f37
[2/3] ASoC: ssm2602: Use modern ASoC DAI format terminology
      commit: 0160e8835fab4d4a15abefe7509d0397890c0ffd
[3/3] ASoC: ssm4567: Use modern ASoC DAI format terminology
      commit: 627a18149250e13409079ffb6936e472c3766f44

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-07 15:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 13:05 [PATCH 0/3] ASoC: ssm: Use modern ASoC DAI format terminology Mark Brown
2022-06-02 13:05 ` [PATCH 1/3] ASoC: ssm2518: " Mark Brown
2022-06-02 13:05 ` [PATCH 2/3] ASoC: ssm2602: " Mark Brown
2022-06-02 13:05 ` [PATCH 3/3] ASoC: ssm4567: " Mark Brown
2022-06-07 15:11 ` [PATCH 0/3] ASoC: ssm: " Mark Brown

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.