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
Dimitris Papastamos
631fcab2ea
ASoC: wm0010: Up the completion timeout to 20ms instead of 10ms
...
Increase timeout to be more reliable and avoid the chance of
missing interrupts during boot.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-21 19:52:33 +09:00
Kuninori Morimoto
83f7cbc43b
ASoC: Add max98090 codec driver
...
This patch adds the max98090 codec prototype driver.
It supports Headphone only at this point.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-21 13:31:29 +09:00
Kuninori Morimoto
2f391251c6
ASoC: ak4642: cleanup struct ak4642_priv
...
This patch removed struct ak4642_priv which had
meaningless variable.
It is no longer needed
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-21 13:26:09 +09:00
Mark Brown
a6366c519c
Merge branches 'fix/arizona', 'fix/cs4271', 'fix/kirkwood' and 'fix/samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into tmp
2012-11-21 11:41:15 +09:00
Dimitris Papastamos
4cbc365509
ASoC: wm5102: Register DSP1 Aux widgets
...
It seems WM_ADSP2("DSP1", 0) is added twice to the widgets list, remove
that and in place use ARIZONA_DSP_WIDGETS(DSP1, "DSP1").
We need to make sure that the DSP1 Aux widgets are provided otherwise
we'll see errors such as "Failed to add route DSP1 Aux 1 -> DSP1" etc.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-21 10:32:00 +09:00
Mark Brown
9ce6565faa
ASoC: wm5102: Remove output OSR and PGA volume control
...
These are managed automatically in current revisions.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-20 17:34:31 +09:00
Bill Pemberton
6939565fa5
ASoC: max98088: remove use of __devexit_p
...
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed, remove it.
Also fix the indentation for the initialization of the
max98088_i2c_driver struct to make chkpatch happy.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Cc: Jaroslav Kysela <perex@perex.cz >
Cc: Takashi Iwai <tiwai@suse.de >
Cc: alsa-devel@alsa-project.org
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-20 15:24:11 +09:00
Bill Pemberton
f6e6574499
ASoC: remove use of __devinitconst
...
CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-20 10:58:34 +09:00
Mark Brown
80da549e52
Merge tag 'v3.7-rc6' into asoc-wm2200
...
Linux 3.7-rc6
2012-11-19 17:02:14 +09:00
Mark Brown
24a118de11
Merge tag 'v3.7-rc6' into asoc-arizona
...
Linux 3.7-rc6
Conflicts:
sound/soc/codecs/wm5102.c
2012-11-19 15:43:50 +09:00
Sachin Kamat
2525808ee8
ASoC: rt5631: Fix return value
...
Return the value obtained from get_coeff() instead of EINVAL.
Silences a smatch warning.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-19 15:21:20 +09:00
Eric Millbrandt
978545e7b1
ASoC: wm8978: Remove remuxing of GPIO1 pin
...
Remove remuxing GPIO1. Leave control of this up to the platform device.
Signed-off-by: Eric Millbrandt <emillbrandt@dekaresearch.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-11-16 09:41:55 +09:00
Dimitris Papastamos
96e1f18fbb
ASoC: arizona: Fix typo - Swap value in 48k_rates[] and 44k1_rates[]
...
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@vger.kernel.org
2012-11-16 09:38:06 +09:00