diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 20:17:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 20:17:39 -0400 |
commit | 54c72d5987ff9f3cf59529d5d4f5cf19eae3f695 (patch) | |
tree | 3fee972d54926627895aa07684ddb2e2388e4614 /sound | |
parent | 66bb0aa077978dbb76e6283531eb3cc7a878de38 (diff) | |
parent | 7caa79917ad4c1f91366b11f18e48623554aaa52 (diff) |
Merge tag 'mfd-for-linus-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
Pull MFD update from Lee Jones:
"Changes to existing drivers:
- checkpatch fixes throughout the subsystem
- use Regmap to handle IRQs in max77686, extcon-max77693 and
mc13xxx-core
- use DMA in rtsx_pcr
- restrict building on unsupported architectures on timberdale,
cs5535
- SPI hardening in cros_ec_spi
- more robust error handing in asic3, cros_ec, ab8500-debugfs,
max77686 and pcf50633-core
- reorder PM runtime and regulator handing during shutdown in arizona
- enable wakeup in cros_ec_spi
- unused variable/code clean-up in pm8921-core, cros_ec, htc-i2cpld,
tps65912-spi, wm5110-tables and ab8500-debugfs
- add regulator handing into suspend() in sec-core
- remove pointless wrapper functions in extcon-max77693 and
i2c-cros-ec-tunnel
- use cross-architecture friendly data sizes in stmpe-i2c, arizona,
max77686 and tps65910
- devicetree documentation updates throughout
- provide power management support in max77686
- few OF clean-ups in max77686
- use manged resources in tps6105x
New drivers/supported devices:
- add support for s2mpu02 to sec-core
- add support for Allwinner A32 to sun6i-prcm
- add support for Maxim 77802 in max77686
- add support for DA9063 AD in da9063
- new driver for Intel PMICs (generic) and specifically Crystal Cove
(Re-)moved drivers ==
- move out keyboard functionality cros_ec ==> input/keyboard/cros_ec_keyb"
* tag 'mfd-for-linus-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (101 commits)
MAINTAINERS: Update MFD repo location
mfd: omap-usb-host: Fix improper mask use.
mfd: arizona: Only free the CTRLIF_ERR IRQ if we requested it
mfd: arizona: Add missing handling for ISRC3 under/overclocked
mfd: wm5110: Add new interrupt register definitions
mfd: arizona: Rename thermal shutdown interrupt
mfd: wm5110: Add in the output done interrupts
mfd: wm5110: Remove non-existant interrupts
mfd: tps65912-spi: Remove unused variable
mfd: htc-i2cpld: Remove unused code
mfd: da9063: Add support for AD silicon variant
mfd: arizona: Map MICVDD from extcon device to the Arizona core
mfd: arizona: Add MICVDD to mapped regulators for wm8997
mfd: max77686: Ensure device type IDs are architecture agnostic
mfd: max77686: Add Maxim 77802 PMIC support
mfd: tps6105x: Use managed resources when allocating memory
mfd: wm8997-tables: Suppress 'line over 80 chars' warnings
mfd: kempld-core: Correct a variety of checkpatch warnings
mfd: ipaq-micro: Fix coding style errors/warnings reported by checkpatch
mfd: si476x-cmd: Remedy checkpatch style complains
...
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/arizona.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index 2f2e91ac690f..bd41ee4da078 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c | |||
@@ -107,7 +107,7 @@ static int arizona_spk_ev(struct snd_soc_dapm_widget *w, | |||
107 | break; | 107 | break; |
108 | case SND_SOC_DAPM_POST_PMU: | 108 | case SND_SOC_DAPM_POST_PMU: |
109 | val = snd_soc_read(codec, ARIZONA_INTERRUPT_RAW_STATUS_3); | 109 | val = snd_soc_read(codec, ARIZONA_INTERRUPT_RAW_STATUS_3); |
110 | if (val & ARIZONA_SPK_SHUTDOWN_STS) { | 110 | if (val & ARIZONA_SPK_OVERHEAT_STS) { |
111 | dev_crit(arizona->dev, | 111 | dev_crit(arizona->dev, |
112 | "Speaker not enabled due to temperature\n"); | 112 | "Speaker not enabled due to temperature\n"); |
113 | return -EBUSY; | 113 | return -EBUSY; |
@@ -159,7 +159,7 @@ static irqreturn_t arizona_thermal_warn(int irq, void *data) | |||
159 | if (ret != 0) { | 159 | if (ret != 0) { |
160 | dev_err(arizona->dev, "Failed to read thermal status: %d\n", | 160 | dev_err(arizona->dev, "Failed to read thermal status: %d\n", |
161 | ret); | 161 | ret); |
162 | } else if (val & ARIZONA_SPK_SHUTDOWN_WARN_STS) { | 162 | } else if (val & ARIZONA_SPK_OVERHEAT_WARN_STS) { |
163 | dev_crit(arizona->dev, "Thermal warning\n"); | 163 | dev_crit(arizona->dev, "Thermal warning\n"); |
164 | } | 164 | } |
165 | 165 | ||
@@ -177,7 +177,7 @@ static irqreturn_t arizona_thermal_shutdown(int irq, void *data) | |||
177 | if (ret != 0) { | 177 | if (ret != 0) { |
178 | dev_err(arizona->dev, "Failed to read thermal status: %d\n", | 178 | dev_err(arizona->dev, "Failed to read thermal status: %d\n", |
179 | ret); | 179 | ret); |
180 | } else if (val & ARIZONA_SPK_SHUTDOWN_STS) { | 180 | } else if (val & ARIZONA_SPK_OVERHEAT_STS) { |
181 | dev_crit(arizona->dev, "Thermal shutdown\n"); | 181 | dev_crit(arizona->dev, "Thermal shutdown\n"); |
182 | ret = regmap_update_bits(arizona->regmap, | 182 | ret = regmap_update_bits(arizona->regmap, |
183 | ARIZONA_OUTPUT_ENABLES_1, | 183 | ARIZONA_OUTPUT_ENABLES_1, |
@@ -223,7 +223,7 @@ int arizona_init_spk(struct snd_soc_codec *codec) | |||
223 | break; | 223 | break; |
224 | } | 224 | } |
225 | 225 | ||
226 | ret = arizona_request_irq(arizona, ARIZONA_IRQ_SPK_SHUTDOWN_WARN, | 226 | ret = arizona_request_irq(arizona, ARIZONA_IRQ_SPK_OVERHEAT_WARN, |
227 | "Thermal warning", arizona_thermal_warn, | 227 | "Thermal warning", arizona_thermal_warn, |
228 | arizona); | 228 | arizona); |
229 | if (ret != 0) | 229 | if (ret != 0) |
@@ -231,7 +231,7 @@ int arizona_init_spk(struct snd_soc_codec *codec) | |||
231 | "Failed to get thermal warning IRQ: %d\n", | 231 | "Failed to get thermal warning IRQ: %d\n", |
232 | ret); | 232 | ret); |
233 | 233 | ||
234 | ret = arizona_request_irq(arizona, ARIZONA_IRQ_SPK_SHUTDOWN, | 234 | ret = arizona_request_irq(arizona, ARIZONA_IRQ_SPK_OVERHEAT, |
235 | "Thermal shutdown", arizona_thermal_shutdown, | 235 | "Thermal shutdown", arizona_thermal_shutdown, |
236 | arizona); | 236 | arizona); |
237 | if (ret != 0) | 237 | if (ret != 0) |