mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
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>
This commit is contained in:
parent
465c925695
commit
83ef26ac13
1 changed files with 4 additions and 4 deletions
|
@ -2147,7 +2147,7 @@ static irqreturn_t cs43130_irq_thread(int irq, void *data)
|
||||||
struct cs43130_private *cs43130 = (struct cs43130_private *)data;
|
struct cs43130_private *cs43130 = (struct cs43130_private *)data;
|
||||||
struct snd_soc_codec *codec = cs43130->codec;
|
struct snd_soc_codec *codec = cs43130->codec;
|
||||||
unsigned int stickies[CS43130_NUM_INT];
|
unsigned int stickies[CS43130_NUM_INT];
|
||||||
unsigned int irq_occurrance = 0;
|
unsigned int irq_occurrence = 0;
|
||||||
unsigned int masks[CS43130_NUM_INT];
|
unsigned int masks[CS43130_NUM_INT];
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
|
@ -2161,12 +2161,12 @@ static irqreturn_t cs43130_irq_thread(int irq, void *data)
|
||||||
for (i = 0; i < ARRAY_SIZE(stickies); i++) {
|
for (i = 0; i < ARRAY_SIZE(stickies); i++) {
|
||||||
stickies[i] = stickies[i] & (~masks[i]);
|
stickies[i] = stickies[i] & (~masks[i]);
|
||||||
for (j = 0; j < 8; j++)
|
for (j = 0; j < 8; j++)
|
||||||
irq_occurrance += (stickies[i] >> j) & 1;
|
irq_occurrence += (stickies[i] >> j) & 1;
|
||||||
}
|
}
|
||||||
dev_dbg(codec->dev, "number of interrupts occurred (%u)\n",
|
dev_dbg(codec->dev, "number of interrupts occurred (%u)\n",
|
||||||
irq_occurrance);
|
irq_occurrence);
|
||||||
|
|
||||||
if (!irq_occurrance)
|
if (!irq_occurrence)
|
||||||
return IRQ_NONE;
|
return IRQ_NONE;
|
||||||
|
|
||||||
if (stickies[0] & CS43130_XTAL_RDY_INT) {
|
if (stickies[0] & CS43130_XTAL_RDY_INT) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue