Mark Brown
dd49e2c8b9
ASoC: adsp: Set DSP clock rate to SYSCLK rate
...
For simplicity always run the DSP at the SYSCLK rate.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-03 00:09:23 +09:00
Mark Brown
10a2b662c4
ASoC: adsp: Keep ADSP2 memory powered off when not in use
...
Turn off the ADSP memory when we aren't using it, saving a small amount of
power.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-03 00:09:20 +09:00
Mark Brown
e436cadd65
ASoC: wm5102: Correct base address for Y region
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:23:47 +09:00
Sachin Kamat
c5e6f5fa0a
ASoC: wm8960: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler. There was no explicit
regmap_exit call in this function which was probably a bug.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:09:51 +09:00
Sachin Kamat
385b27f55c
ASoC: wm8955: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:09:09 +09:00
Sachin Kamat
8f255e7ba3
ASoC: max9768: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:08:32 +09:00
Sachin Kamat
ad2c175b8d
ASoC: wm8978: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:07:28 +09:00
Sachin Kamat
b439c6d0d1
ASoC: wm8962: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:06:44 +09:00
Sachin Kamat
6dff9b3b05
ASoC: wm8993: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:05:30 +09:00
Sachin Kamat
a5710c0135
ASoC: wm9081: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:04:39 +09:00
Sachin Kamat
be7eaf53fd
ASoC: wm9090: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:03:37 +09:00
Daniel Mack
b8455c9f6f
ASoC: cs4271: fix property check
...
The driver had the property check for 'cirrus,amutec_eq_bmutec' the
wrong way around. That happens if you misspell the property in the
bindings during tests.
Signed-off-by: Daniel Mack <zonque@gmail.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:01:56 +09:00
Daniel Mack
26047e2d6b
ASoC: cs4271: fix sparse warning
...
Make the flag in the pdata of type bool to fix a sparse warning.
Signed-off-by: Daniel Mack <zonque@gmail.com >
Reported-by: Fengguang Wu <fengguang.wu@intel.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-02 13:01:51 +09:00
Mark Brown
25c6fdb040
ASoC: arizona: Add parentheses
...
Some compiler versions complain.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-29 15:18:29 +00:00
Mark Brown
a7f9be7ec5
ASoC: wm_adsp: Set the core enable as well as start bit for ADSP2
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 20:29:20 +00:00
Sachin Kamat
f55ec27f48
ASoC: wm2200: Remove empty labels
...
Removed unnecessary labels probably left out of some previous cleanup.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 19:19:23 +00:00
Mark Brown
cac27cff06
ASoC: wm5102: Enable DVFS support for the DSP
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 17:46:12 +00:00
Mark Brown
0644128556
Merge branch 'topic/adsp' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-arizona
2012-11-28 17:45:57 +00:00
Sachin Kamat
2fadf6a861
ASoC: lm49453: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 17:44:34 +00:00
Sachin Kamat
4e75955d8f
ASoC: da7210: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 17:43:02 +00:00
Sachin Kamat
77d19b10a4
ASoC: ak4535: Use devm_regmap_init_i2c()
...
devm_regmap_init_i2c() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 17:41:54 +00:00
Sachin Kamat
877fa971fb
ASoC: wm8993: Use devm_regulator_bulk_get
...
devm_regulator_bulk_get() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 17:40:49 +00:00
Sachin Kamat
95a5b240e4
ASoC: wm8400: Use devm_regulator_bulk_get
...
devm_regulator_bulk_get() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 17:39:59 +00:00
Sachin Kamat
92437cbb1b
ASoC: wm8962: Use devm_regulator_bulk_get
...
devm_regulator_bulk_get() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 17:39:13 +00:00
Sachin Kamat
5851e9b89d
ASoC: wm8350: Use devm_regulator_bulk_get
...
devm_regulator_bulk_get() is device managed and makes error
handling and code cleanup simpler.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 17:38:26 +00:00
Mark Brown
973838a030
ASoC: wm_adsp: Enable DVFS for ADSP2
...
Some ADSP devices can make use of DVFS to optimise power consumption
depending on the operating frequency of the DSP core. Implement
support for this in the generic ADSP code.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 17:36:23 +00:00
Mark Brown
72222be39a
ASoC: wm8994: Use the same DCS codes for all WM1811 variants
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@vger.kernel.org
2012-11-28 13:47:32 +00:00
Mark Brown
2f76e6855f
ASoC: wm5110: Implement haptics support
...
Provide a haptics widget for use by the haptics driver and expose the DAPM
context for it.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 13:44:00 +00:00
Mark Brown
3f41e3d2e8
ASoC: wm5102: Implement haptics support
...
Provide a haptics widget for use by the haptics driver and expose the DAPM
context for it.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 13:43:57 +00:00
Mark Brown
50fcfe45d7
ASoC: arizona: Record FLL setting when disabling
...
Otherwise we skip reenables.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-28 13:42:39 +00:00
Mark Brown
5b94e18167
Merge tag 'v3.7-rc7' into asoc-wm2200
...
Linux 3.7-rc7
2012-11-27 20:02:45 +00:00
Mark Brown
5d910966d2
ASoC: wm0010: Ignore interrupts in power down mode
...
The device should not be generating interrupts when it does not have power
so ignore incoming interrupts.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-27 19:31:31 +00:00
Mark Brown
1cbe4bcae3
ASoC: arizona: Suppress noop FLL updates
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-27 19:30:56 +00:00
Mark Brown
ba6b047ab9
ASoC: wm5102: Add missing routes for ASRC inputs
...
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-27 19:30:25 +00:00
Mark Brown
a5ccea2224
ASoC: wm2000: Get the CODEC pointer from the widget
...
Don't rely on the kcontrol for robustness reasons, the widget mechanism
is what the framework uses.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-27 10:46:13 +00:00
Mark Brown
38113360f0
ASoC: arizona: Support higher clock rates
...
Some devices support higher clock rates, allow users to select these.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-27 10:36:34 +00:00
Mark Brown
d9dd4ada0e
ASoC: wm8994: Use pdata cached in MFD driver
...
This is better style and facilitates implementation of device tree support
for the driver.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-24 00:15:08 +09:00
Tushar Behera
a273cd13a5
ASoC: ak4104: Convert to use devm_regmap_init_spi()
...
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-24 00:09:07 +09:00
Daniel Mack
385a4c2e28
ASoC: ak4104: add reset line property to DT bindings
...
This device doesn't have a pdata definition for legacy boards, and
unless anyone need to control the reset GPIO, it's not worth adding one.
So this feature is only available to DT users for now.
Signed-off-by: Daniel Mack <zonque@gmail.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-24 00:09:03 +09:00
Tushar Behera
28517f5cf6
ASoC: wm8988: Convert to use devm_regmap_init_{spi,i2c}()
...
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 23:36:37 +09:00
Tushar Behera
f911fa829d
ASoC: wm8985: Convert to use devm_regmap_init_{spi,i2c}()
...
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 23:36:26 +09:00
Tushar Behera
9bb6e95ec7
ASoC: wm8804: Convert to use devm_regmap_init_{spi,i2c}()
...
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 23:36:11 +09:00
Tushar Behera
d2d1fe9028
ASoC: wm8995: Convert to use devm_regmap_init_{spi,i2c}()
...
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 23:35:53 +09:00
Tushar Behera
eb781f7800
ASoC: wm8753: Convert to use devm_regmap_init_{spi,i2c}()
...
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 23:35:10 +09:00
Tushar Behera
fd64c45560
ASoC: wm8741: Convert to use devm_regmap_init_{spi,i2c}()
...
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 23:34:53 +09:00
Tushar Behera
d5ff3c8a51
ASoC: wm8995: Convert to use devm_kzalloc()
...
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 23:32:31 +09:00
Tushar Behera
ada7efe239
ASoC: wm8753: remove invalid free of devm_ allocated data
...
Fixes following warning.
sound/soc/codecs/wm8753.c:1594:1-6: WARNING: invalid free of devm_ allocated data
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 23:31:44 +09:00
Tushar Behera
9a58dc2268
ASoC: wm8510: remove invalid free of devm_ allocated data
...
Fixes following warning.
sound/soc/codecs/wm8510.c:614:1-6: WARNING: invalid free of devm_ allocated data
Signed-off-by: Tushar Behera <tushar.behera@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 23:28:45 +09:00
Scott Ling
68e1969ea7
ASoC: wm0010: Add checking for .dfw info record version.
...
The info record at the start of the dsp firmware file has been
expanded to incorporate additional version information. We need
to check the version to make sure we understand the layout of
the information in the record. The srec2image tool is currently
used to create this record during creation of the .dfw file.
Signed-off-by: Scott Ling <sl@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-23 21:44:15 +09:00
Mark Brown
cd22000ade
ASoC: wm8994: Lower AIFnCLK divisor when dropping to 32kHz
...
When lowering SYSCLK to 50kHz for accessory detection also lower the
AIFnCLK divisor to normalise the clocking configuration within the
device. This will not disrupt audio as we cannot support active audio
with such a low SYSCLK.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-22 17:36:30 +09:00