aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2014-07-15 06:21:47 -0400
committerLee Jones <lee.jones@linaro.org>2014-07-28 03:10:47 -0400
commitc0fe2c5b3f730e3d56d37f7b731a5b1191a4e8bf (patch)
tree56d6f6206e0b046d947dd3a8d7b3a1bb87f36760 /drivers/mfd
parent3d2108dae4e1768c06718cdce19f8f0089ce310e (diff)
mfd: arizona: Rename thermal shutdown interrupt
Newer versions of the IP introduce short circuit protection which will also shutdown the speaker. Rename the interrupt and associated register bits associated with thermal events to better fit the function and avoid conflict with future interrupt additions. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/wm5102-tables.c8
-rw-r--r--drivers/mfd/wm5110-tables.c8
-rw-r--r--drivers/mfd/wm8997-tables.c8
3 files changed, 12 insertions, 12 deletions
diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c
index c8a993bd17ae..fb4d4bb0f47d 100644
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@ -138,11 +138,11 @@ static const struct regmap_irq wm5102_irqs[ARIZONA_NUM_IRQ] = {
138 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ1_EINT1 138 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ1_EINT1
139 }, 139 },
140 140
141 [ARIZONA_IRQ_SPK_SHUTDOWN_WARN] = { 141 [ARIZONA_IRQ_SPK_OVERHEAT_WARN] = {
142 .reg_offset = 2, .mask = ARIZONA_SPK_SHUTDOWN_WARN_EINT1 142 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_WARN_EINT1
143 }, 143 },
144 [ARIZONA_IRQ_SPK_SHUTDOWN] = { 144 [ARIZONA_IRQ_SPK_OVERHEAT] = {
145 .reg_offset = 2, .mask = ARIZONA_SPK_SHUTDOWN_EINT1 145 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_EINT1
146 }, 146 },
147 [ARIZONA_IRQ_HPDET] = { 147 [ARIZONA_IRQ_HPDET] = {
148 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1 148 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1
diff --git a/drivers/mfd/wm5110-tables.c b/drivers/mfd/wm5110-tables.c
index 4729007055d8..2822768f2df1 100644
--- a/drivers/mfd/wm5110-tables.c
+++ b/drivers/mfd/wm5110-tables.c
@@ -340,11 +340,11 @@ static const struct regmap_irq wm5110_irqs[ARIZONA_NUM_IRQ] = {
340 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ1_EINT1 340 .reg_offset = 1, .mask = ARIZONA_DSP_IRQ1_EINT1
341 }, 341 },
342 342
343 [ARIZONA_IRQ_SPK_SHUTDOWN_WARN] = { 343 [ARIZONA_IRQ_SPK_OVERHEAT_WARN] = {
344 .reg_offset = 2, .mask = ARIZONA_SPK_SHUTDOWN_WARN_EINT1 344 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_WARN_EINT1
345 }, 345 },
346 [ARIZONA_IRQ_SPK_SHUTDOWN] = { 346 [ARIZONA_IRQ_SPK_OVERHEAT] = {
347 .reg_offset = 2, .mask = ARIZONA_SPK_SHUTDOWN_EINT1 347 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_EINT1
348 }, 348 },
349 [ARIZONA_IRQ_HPDET] = { 349 [ARIZONA_IRQ_HPDET] = {
350 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1 350 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1
diff --git a/drivers/mfd/wm8997-tables.c b/drivers/mfd/wm8997-tables.c
index 04bc6d5ff285..510da3b52324 100644
--- a/drivers/mfd/wm8997-tables.c
+++ b/drivers/mfd/wm8997-tables.c
@@ -65,11 +65,11 @@ static const struct regmap_irq wm8997_irqs[ARIZONA_NUM_IRQ] = {
65 [ARIZONA_IRQ_GP2] = { .reg_offset = 0, .mask = ARIZONA_GP2_EINT1 }, 65 [ARIZONA_IRQ_GP2] = { .reg_offset = 0, .mask = ARIZONA_GP2_EINT1 },
66 [ARIZONA_IRQ_GP1] = { .reg_offset = 0, .mask = ARIZONA_GP1_EINT1 }, 66 [ARIZONA_IRQ_GP1] = { .reg_offset = 0, .mask = ARIZONA_GP1_EINT1 },
67 67
68 [ARIZONA_IRQ_SPK_SHUTDOWN_WARN] = { 68 [ARIZONA_IRQ_SPK_OVERHEAT_WARN] = {
69 .reg_offset = 2, .mask = ARIZONA_SPK_SHUTDOWN_WARN_EINT1 69 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_WARN_EINT1
70 }, 70 },
71 [ARIZONA_IRQ_SPK_SHUTDOWN] = { 71 [ARIZONA_IRQ_SPK_OVERHEAT] = {
72 .reg_offset = 2, .mask = ARIZONA_SPK_SHUTDOWN_EINT1 72 .reg_offset = 2, .mask = ARIZONA_SPK_OVERHEAT_EINT1
73 }, 73 },
74 [ARIZONA_IRQ_HPDET] = { 74 [ARIZONA_IRQ_HPDET] = {
75 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1 75 .reg_offset = 2, .mask = ARIZONA_HPDET_EINT1