From ba982c33278c1fc739c8c220f410d6539de9d9b9 Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Fri, 16 Oct 2026 16:22:43 +0800 Subject: [PATCH] ASoC: rt721-sdca: Fix inconsistent indenting in jack detect handler 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") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202610080041.JAcitVQd-lkp@intel.com/ Signed-off-by: Jack Yu Link: https://patch.msgid.link/20261016082243.1352940-1-jack.yu@realtek.com Signed-off-by: Mark Brown --- sound/soc/codecs/rt721-sdca.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt721-sdca.c b/sound/soc/codecs/rt721-sdca.c index 5fc0aa991914..9f567caecb70 100644 --- a/sound/soc/codecs/rt721-sdca.c +++ b/sound/soc/codecs/rt721-sdca.c @@ -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);