aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-04 06:12:32 -0400
committerMark Brown <broonie@kernel.org>2017-09-04 08:41:11 -0400
commit83ef26ac1326fdd2fc8d160967cdca2e8b46ccd4 (patch)
tree870a4b89f4ce7ce3e3b3bfb9178946bd351beb88
parent465c925695593b43695e2396f7279879a72275eb (diff)
ASoC: cs43130: fix spelling mistake: "irq_occurrance" -> "irq_occurrence"
Trivial fix to spelling mistake in variable name Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/cs43130.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/cs43130.c b/sound/soc/codecs/cs43130.c
index 220e30199c5b..9f1aa0516fd0 100644
--- a/sound/soc/codecs/cs43130.c
+++ b/sound/soc/codecs/cs43130.c
@@ -2147,7 +2147,7 @@ static irqreturn_t cs43130_irq_thread(int irq, void *data)
2147 struct cs43130_private *cs43130 = (struct cs43130_private *)data; 2147 struct cs43130_private *cs43130 = (struct cs43130_private *)data;
2148 struct snd_soc_codec *codec = cs43130->codec; 2148 struct snd_soc_codec *codec = cs43130->codec;
2149 unsigned int stickies[CS43130_NUM_INT]; 2149 unsigned int stickies[CS43130_NUM_INT];
2150 unsigned int irq_occurrance = 0; 2150 unsigned int irq_occurrence = 0;
2151 unsigned int masks[CS43130_NUM_INT]; 2151 unsigned int masks[CS43130_NUM_INT];
2152 int i, j; 2152 int i, j;
2153 2153
@@ -2161,12 +2161,12 @@ static irqreturn_t cs43130_irq_thread(int irq, void *data)
2161 for (i = 0; i < ARRAY_SIZE(stickies); i++) { 2161 for (i = 0; i < ARRAY_SIZE(stickies); i++) {
2162 stickies[i] = stickies[i] & (~masks[i]); 2162 stickies[i] = stickies[i] & (~masks[i]);
2163 for (j = 0; j < 8; j++) 2163 for (j = 0; j < 8; j++)
2164 irq_occurrance += (stickies[i] >> j) & 1; 2164 irq_occurrence += (stickies[i] >> j) & 1;
2165 } 2165 }
2166 dev_dbg(codec->dev, "number of interrupts occurred (%u)\n", 2166 dev_dbg(codec->dev, "number of interrupts occurred (%u)\n",
2167 irq_occurrance); 2167 irq_occurrence);
2168 2168
2169 if (!irq_occurrance) 2169 if (!irq_occurrence)
2170 return IRQ_NONE; 2170 return IRQ_NONE;
2171 2171
2172 if (stickies[0] & CS43130_XTAL_RDY_INT) { 2172 if (stickies[0] & CS43130_XTAL_RDY_INT) {