Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: fsl: cpm1: tsa: Add missing spinlock comment

checkpatch.pl raises the following issue
CHECK: spinlock_t definition without comment

Add the missing comment.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20240808071132.149251-7-herve.codina@bootlin.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>

authored by

Herve Codina and committed by
Christophe Leroy
a68757ab bfd4f092

+1 -1
+1 -1
drivers/soc/fsl/qe/tsa.c
··· 128 128 void __iomem *si_regs; 129 129 void __iomem *si_ram; 130 130 resource_size_t si_ram_sz; 131 - spinlock_t lock; 131 + spinlock_t lock; /* Lock for read/modify/write sequence */ 132 132 int tdms; /* TSA_TDMx ORed */ 133 133 struct tsa_tdm tdm[2]; /* TDMa and TDMb */ 134 134 struct tsa_serial {