Skip to contentSkip to conversation

ASoC: rt721-sdca: Fix inconsistent indenting in jack detect handler

PATCH In review [email protected] 2 participants 2 messages Oct 16

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rt721-sdca: Fix inconsistent indenting in jack detect handler

From: Jack Yu <[email protected]>

Smatch warns about inconsistent indenting in rt721_sdca_jack_detect_handler(): the rt_sdca_index_read() call that samples the JD pin state, and the following mask of real_JD, are indented one level deeper than the surrounding statements, so they look like part of the preceding block although they are not.

Re-indent them to match the rest of the block. No functional change.

Fixes e2eb4873b901 ("ASoC: rt721-sdca: Adjust blindwrite flow to fix type detection issue")
---
 sound/soc/codecs/rt721-sdca.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
sound/soc/codecs/rt721-sdca.c +3 -3
index 5fc0aa991914..9f567caecb70 100644
@@ -121,9 +121,9 @@ static void rt721_sdca_jack_detect_handler(struct work_struct *work)
 			return;
 		}
 
-			rt_sdca_index_read(rt721->mbq_regmap, RT721_JD_CTRL,
-				RT721_JD_1PIN_GAT_STA1, &real_JD);
-			real_JD &= 0x1;
+		rt_sdca_index_read(rt721->mbq_regmap, RT721_JD_CTRL,
+			RT721_JD_1PIN_GAT_STA1, &real_JD);
+		real_JD &= 0x1;
 		if (real_JD == 0x0)
 			rt721_sdca_jack_reset_state(rt721);
 
Signature · 1 line
2.55.0
maintainer
#1 lore raw
Quoted 1 line · On Fri, 16 Oct 2026 16:22:43 +0800, [email protected] wrote:

ASoC: rt721-sdca: Fix inconsistent indenting in jack detect handler

Applied to

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

Thanks!

[1/1] ASoC: rt721-sdca: Fix inconsistent indenting in jack detect handler

      https://git.kernel.org/broonie/sound/c/ba982c33278c

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