* [PATCH] ASoC: tegra: remove unneeded semicolon
@ 2023-03-22 1:43 Jiapeng Chong
2023-03-22 18:47 ` Mark Brown
0 siblings, 1 reply; 5+ messages in thread
From: Jiapeng Chong @ 2023-03-22 1:43 UTC (permalink / raw)
To: lgirdwood
Cc: broonie, perex, tiwai, thierry.reding, jonathanh, alsa-devel,
linux-tegra, linux-kernel, Jiapeng Chong, Abaci Robot
./sound/soc/tegra/tegra_asoc_machine.c:206:3-4: Unneeded semicolon.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4583
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
sound/soc/tegra/tegra_asoc_machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/tegra/tegra_asoc_machine.c b/sound/soc/tegra/tegra_asoc_machine.c
index c2aaa496468c..f5092b410926 100644
--- a/sound/soc/tegra/tegra_asoc_machine.c
+++ b/sound/soc/tegra/tegra_asoc_machine.c
@@ -203,7 +203,7 @@ int tegra_asoc_machine_init(struct snd_soc_pcm_runtime *rtd)
"nvidia,coupled-mic-hp-det")) {
tegra_machine_mic_jack_gpio.desc = machine->gpiod_hp_det;
tegra_machine_mic_jack_gpio.jack_status_check = coupled_mic_hp_check;
- };
+ }
err = snd_soc_jack_add_gpios(&tegra_machine_mic_jack, 1,
&tegra_machine_mic_jack_gpio);
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: tegra: remove unneeded semicolon
2023-03-22 1:43 [PATCH] ASoC: tegra: remove unneeded semicolon Jiapeng Chong
@ 2023-03-22 18:47 ` Mark Brown
0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2023-03-22 18:47 UTC (permalink / raw)
To: lgirdwood, Jiapeng Chong
Cc: perex, tiwai, thierry.reding, jonathanh, alsa-devel, linux-tegra,
linux-kernel, Abaci Robot
On Wed, 22 Mar 2023 09:43:30 +0800, Jiapeng Chong wrote:
> ./sound/soc/tegra/tegra_asoc_machine.c:206:3-4: Unneeded semicolon.
>
>
Applied to
broonie/sound.git for-next
Thanks!
[1/1] ASoC: tegra: remove unneeded semicolon
commit: 59385ed41c37b609c70a1ebb46003e4cc6685ec0
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
* [PATCH] ASoC: tegra: remove unneeded semicolon
@ 2020-11-01 17:24 trix
2020-11-03 6:09 ` Sameer Pujar
2020-11-03 18:14 ` Mark Brown
0 siblings, 2 replies; 5+ messages in thread
From: trix @ 2020-11-01 17:24 UTC (permalink / raw)
To: lgirdwood, broonie, perex, tiwai, thierry.reding, jonathanh, spujar
Cc: alsa-devel, linux-tegra, linux-kernel, Tom Rix
From: Tom Rix <trix@redhat.com>
A semicolon is not needed after a switch statement.
Signed-off-by: Tom Rix <trix@redhat.com>
---
sound/soc/tegra/tegra186_dspk.c | 6 +++---
sound/soc/tegra/tegra210_dmic.c | 6 +++---
sound/soc/tegra/tegra210_i2s.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/sound/soc/tegra/tegra186_dspk.c b/sound/soc/tegra/tegra186_dspk.c
index 0cbe31e2c7e9..7d9948fb2ca7 100644
--- a/sound/soc/tegra/tegra186_dspk.c
+++ b/sound/soc/tegra/tegra186_dspk.c
@@ -310,7 +310,7 @@ static bool tegra186_dspk_wr_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
- };
+ }
}
static bool tegra186_dspk_rd_reg(struct device *dev, unsigned int reg)
@@ -326,7 +326,7 @@ static bool tegra186_dspk_rd_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
- };
+ }
}
static bool tegra186_dspk_volatile_reg(struct device *dev, unsigned int reg)
@@ -339,7 +339,7 @@ static bool tegra186_dspk_volatile_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
- };
+ }
}
static const struct regmap_config tegra186_dspk_regmap = {
diff --git a/sound/soc/tegra/tegra210_dmic.c b/sound/soc/tegra/tegra210_dmic.c
index a661f40bc41c..ead2c99bf72e 100644
--- a/sound/soc/tegra/tegra210_dmic.c
+++ b/sound/soc/tegra/tegra210_dmic.c
@@ -322,7 +322,7 @@ static bool tegra210_dmic_wr_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
- };
+ }
}
static bool tegra210_dmic_rd_reg(struct device *dev, unsigned int reg)
@@ -338,7 +338,7 @@ static bool tegra210_dmic_rd_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
- };
+ }
}
static bool tegra210_dmic_volatile_reg(struct device *dev, unsigned int reg)
@@ -353,7 +353,7 @@ static bool tegra210_dmic_volatile_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
- };
+ }
}
static const struct regmap_config tegra210_dmic_regmap_config = {
diff --git a/sound/soc/tegra/tegra210_i2s.c b/sound/soc/tegra/tegra210_i2s.c
index a383bd5c51cd..ca31ec92e508 100644
--- a/sound/soc/tegra/tegra210_i2s.c
+++ b/sound/soc/tegra/tegra210_i2s.c
@@ -662,7 +662,7 @@ static bool tegra210_i2s_wr_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
- };
+ }
}
static bool tegra210_i2s_rd_reg(struct device *dev, unsigned int reg)
@@ -682,7 +682,7 @@ static bool tegra210_i2s_rd_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
- };
+ }
}
static bool tegra210_i2s_volatile_reg(struct device *dev, unsigned int reg)
@@ -701,7 +701,7 @@ static bool tegra210_i2s_volatile_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
- };
+ }
}
static const struct regmap_config tegra210_i2s_regmap_config = {
--
2.18.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: tegra: remove unneeded semicolon
2020-11-01 17:24 trix
@ 2020-11-03 6:09 ` Sameer Pujar
2020-11-03 18:14 ` Mark Brown
1 sibling, 0 replies; 5+ messages in thread
From: Sameer Pujar @ 2020-11-03 6:09 UTC (permalink / raw)
To: trix, lgirdwood, broonie, perex, tiwai, thierry.reding, jonathanh
Cc: alsa-devel, linux-tegra, linux-kernel
Hi Tom,
> From: Tom Rix <trix@redhat.com>
>
> A semicolon is not needed after a switch statement.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
Acked-by: Sameer Pujar <spujar@nvidia.com>
Thanks for the update.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: tegra: remove unneeded semicolon
2020-11-01 17:24 trix
2020-11-03 6:09 ` Sameer Pujar
@ 2020-11-03 18:14 ` Mark Brown
1 sibling, 0 replies; 5+ messages in thread
From: Mark Brown @ 2020-11-03 18:14 UTC (permalink / raw)
To: spujar, jonathanh, perex, trix, thierry.reding, lgirdwood, tiwai
Cc: linux-kernel, linux-tegra, alsa-devel
On Sun, 1 Nov 2020 09:24:12 -0800, trix@redhat.com wrote:
> A semicolon is not needed after a switch statement.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: tegra: remove unneeded semicolon
commit: 0246c6cb246f36ffcac0b843da179ab6510e139b
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:[~2023-03-22 18:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22 1:43 [PATCH] ASoC: tegra: remove unneeded semicolon Jiapeng Chong
2023-03-22 18:47 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2020-11-01 17:24 trix
2020-11-03 6:09 ` Sameer Pujar
2020-11-03 18:14 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).