Skip to content

Commit 83ef26a

Browse files
Colin Ian Kingbroonie
authored andcommitted
ASoC: cs43130: fix spelling mistake: "irq_occurrance" -> "irq_occurrence"
Trivial fix to spelling mistake in variable name Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 465c925 commit 83ef26a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sound/soc/codecs/cs43130.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,7 +2147,7 @@ static irqreturn_t cs43130_irq_thread(int irq, void *data)
21472147
struct cs43130_private *cs43130 = (struct cs43130_private *)data;
21482148
struct snd_soc_codec *codec = cs43130->codec;
21492149
unsigned int stickies[CS43130_NUM_INT];
2150-
unsigned int irq_occurrance = 0;
2150+
unsigned int irq_occurrence = 0;
21512151
unsigned int masks[CS43130_NUM_INT];
21522152
int i, j;
21532153

@@ -2161,12 +2161,12 @@ static irqreturn_t cs43130_irq_thread(int irq, void *data)
21612161
for (i = 0; i < ARRAY_SIZE(stickies); i++) {
21622162
stickies[i] = stickies[i] & (~masks[i]);
21632163
for (j = 0; j < 8; j++)
2164-
irq_occurrance += (stickies[i] >> j) & 1;
2164+
irq_occurrence += (stickies[i] >> j) & 1;
21652165
}
21662166
dev_dbg(codec->dev, "number of interrupts occurred (%u)\n",
2167-
irq_occurrance);
2167+
irq_occurrence);
21682168

2169-
if (!irq_occurrance)
2169+
if (!irq_occurrence)
21702170
return IRQ_NONE;
21712171

21722172
if (stickies[0] & CS43130_XTAL_RDY_INT) {

0 commit comments

Comments
 (0)