summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorHerve Codina <herve.codina@bootlin.com>2024-08-08 09:10:59 +0200
committerChristophe Leroy <christophe.leroy@csgroup.eu>2024-09-03 07:49:18 +0200
commita68757abc0d5df7142720d030276f9693e4958af (patch)
treebae3aa0e883b1dccbc3641e66fa6a5d3a774005c /drivers/soc
parentsoc: fsl: cpm1: tsa: Fix blank line and spaces (diff)
downloadlinux-a68757abc0d5df7142720d030276f9693e4958af.tar.xz
linux-a68757abc0d5df7142720d030276f9693e4958af.zip
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>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/fsl/qe/tsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/fsl/qe/tsa.c b/drivers/soc/fsl/qe/tsa.c
index 7b1032fb1572..a9d35b44489d 100644
--- a/drivers/soc/fsl/qe/tsa.c
+++ b/drivers/soc/fsl/qe/tsa.c
@@ -128,7 +128,7 @@ struct tsa {
void __iomem *si_regs;
void __iomem *si_ram;
resource_size_t si_ram_sz;
- spinlock_t lock;
+ spinlock_t lock; /* Lock for read/modify/write sequence */
int tdms; /* TSA_TDMx ORed */
struct tsa_tdm tdm[2]; /* TDMa and TDMb */
struct tsa_serial {