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: e2eb4873b9 ("ASoC: rt721-sdca: Adjust blindwrite flow to fix type detection issue")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202610080041.JAcitVQd-lkp@intel.com/

Signed-off-by: Jack Yu <jack.yu@realtek.com>
Link: https://patch.msgid.link/20261016082243.1352940-1-jack.yu@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Jack Yu 2026-10-16 16:22:43 +08:00 committed by Mark Brown
parent fcea06d459
commit ba982c3327
No known key found for this signature in database
GPG Key ID: 2FEF73B0B3D03889

View File

@ -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);