Axel Lin
ec20f2f8d3
ASoC: lm49453: Fix mask for setting mode bit in lm49453_set_dai_fmt()
...
The mode variable is either 0 or 1.
To update mode setting, the mask should be BIT(0) rather than BIT(1).
Signed-off-by: Axel Lin <axel.lin@ingics.com >
Tested-by: Omair M. Abdullah <omair.m.abdullah@intel.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-24 15:32:28 +00:00
Fabio Estevam
b50684da6c
ASoC: sgtl5000: Fix maximum value for microphone gain
...
sgtl5000 microphone gain only has 2 bits of resolution, so maximum value is 3.
From Eric Nelson:
"We also found that for the microphones we have here (commodity PC boom mics) a
default value of 2 for the gain gives the best results."
So change the default microphone gain as well.
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com >
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-24 15:31:25 +00:00
Axel Lin
2a5f431592
ASoC: wm2200: Fix setting dai format in wm2200_set_fmt
...
According to the defines in wm2200.h:
/*
* R1284 (0x504) - Audio IF 1_5
*/
We should not left shift 1 bit for fmt_val when setting dai format.
Signed-off-by: Axel Lin <axel.lin@ingics.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@vger.kernel.org
2012-12-21 09:32:20 +00:00
Axel Lin
ad1937cdd5
ASoC: sta529: Fix update register bits in sta529_set_dai_fmt
...
Both the mask and mode settings are wrong in current code.
According to the datasheet:
S2PCFG0 (0x0A)
BIT[3:1] DATA_FORMAT
serial interface protocol format:
000: left Justified
001: I2S (default)
010: right justified
100: PCM no delay
101: PCM delay
111: DSP
Thus fixes the defines for LEFT_J_DATA_FORMAT, I2S_DATA_FORMAT, and
RIGHT_J_DATA_FORMAT.
Also adds define for DATA_FORMAT_MSK.
Signed-off-by: Axel Lin <axel.lin@ingics.com >
Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@vger.kernel.org
2012-12-20 16:01:26 +00:00
Mark Brown
8246b5b03e
Merge remote-tracking branch 'asoc/topic/tpa6130a2' into asoc-next
2012-12-15 23:56:46 +09:00
Mark Brown
20694ad278
Merge remote-tracking branch 'asoc/topic/cs42l73' into asoc-next
2012-12-15 23:56:44 +09:00
Mark Brown
82441fffc8
Merge remote-tracking branch 'asoc/fix/sigmadsp' into asoc-next
2012-12-15 23:56:41 +09:00
Paul Handrigan
7f3dd4a8e3
ASoC: cs42l73: Change VSPIN/VSPOUT to VSPINOUT
...
Since VSP only has one power bit, only provide one DAPM widget.
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-10 12:26:46 +09:00
Paul Handrigan
41df0829ce
ASoC: cs42l73: Add DAPM events for power down.
...
Add power down delays between setting PDN and MCLKDIS for spk amp, spklo amp, and ear amp.
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-10 12:26:46 +09:00
Paul Handrigan
a1ad500e36
ASoC: cs42l73: Add DMIC's as DAPM inputs.
...
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-10 12:26:44 +09:00
Lars-Peter Clausen
a3adb1432d
ASoC: sigmadsp: Fix endianness conversion issue
...
The 'addr' field of the sigma_action struct is stored as big endian in the
firmware file.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Cc: stable@vger.kernel.org
2012-12-10 12:20:39 +09:00
Bill Pemberton
7a79e94e97
ASoC: codecs: remove __dev* attributes
...
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-10 00:31:51 +09:00
Bill Pemberton
05c4c6f707
ASoC: twl4030: remove __dev* attributes
...
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-10 00:30:59 +09:00
Bill Pemberton
bd479f6f5f
ASoC: lm49453: remove __dev* attributes
...
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-10 00:30:48 +09:00
Bill Pemberton
c88f3de855
ASoC: isabelle: remove __dev* attributes
...
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-10 00:30:44 +09:00
Mark Brown
b022aba588
Merge remote-tracking branch 'asoc/topic/wm9090' into asoc-next
2012-12-10 00:22:39 +09:00
Mark Brown
7136b6059f
Merge remote-tracking branch 'asoc/topic/wm9081' into asoc-next
2012-12-10 00:22:38 +09:00
Mark Brown
de7a8a88e1
Merge remote-tracking branch 'asoc/topic/wm8995' into asoc-next
2012-12-10 00:22:38 +09:00
Mark Brown
06f1c66324
Merge remote-tracking branch 'asoc/topic/wm8994' into asoc-next
2012-12-10 00:22:37 +09:00
Mark Brown
6f5716a214
Merge remote-tracking branch 'asoc/topic/wm8993' into asoc-next
2012-12-10 00:22:36 +09:00
Mark Brown
58f4f795b4
Merge remote-tracking branch 'asoc/topic/wm8988' into asoc-next
2012-12-10 00:22:36 +09:00
Mark Brown
fa5236985b
Merge remote-tracking branch 'asoc/topic/wm8985' into asoc-next
2012-12-10 00:22:35 +09:00
Mark Brown
e00457d2e0
Merge remote-tracking branch 'asoc/topic/wm8978' into asoc-next
2012-12-10 00:22:34 +09:00
Mark Brown
6d8ffb7f39
Merge remote-tracking branch 'asoc/topic/wm8971' into asoc-next
2012-12-10 00:22:33 +09:00
Mark Brown
86a942773d
Merge remote-tracking branch 'asoc/topic/wm8962' into asoc-next
2012-12-10 00:22:32 +09:00
Mark Brown
e7d28c8ca4
Merge remote-tracking branch 'asoc/topic/wm8960' into asoc-next
2012-12-10 00:22:32 +09:00
Mark Brown
7a7f9875d9
Merge remote-tracking branch 'asoc/topic/wm8955' into asoc-next
2012-12-10 00:22:31 +09:00
Mark Brown
f443a29db9
Merge remote-tracking branch 'asoc/topic/wm8804' into asoc-next
2012-12-10 00:22:31 +09:00
Mark Brown
048742991b
Merge remote-tracking branch 'asoc/topic/wm8770' into asoc-next
2012-12-10 00:22:30 +09:00
Mark Brown
95dd6d9066
Merge remote-tracking branch 'asoc/topic/wm8753' into asoc-next
2012-12-10 00:22:29 +09:00
Mark Brown
1310062888
Merge remote-tracking branch 'asoc/topic/wm8750' into asoc-next
2012-12-10 00:22:28 +09:00
Mark Brown
59b4cd42f2
Merge remote-tracking branch 'asoc/topic/wm8741' into asoc-next
2012-12-10 00:22:28 +09:00
Mark Brown
753ad46e86
Merge remote-tracking branch 'asoc/topic/wm8510' into asoc-next
2012-12-10 00:22:27 +09:00
Mark Brown
65c62837a7
Merge remote-tracking branch 'asoc/topic/wm8400' into asoc-next
2012-12-10 00:22:26 +09:00
Mark Brown
47f07b77f2
Merge remote-tracking branch 'asoc/topic/wm8350' into asoc-next
2012-12-10 00:22:26 +09:00
Mark Brown
719454d213
Merge remote-tracking branch 'asoc/topic/wm2200' into asoc-next
2012-12-10 00:22:24 +09:00
Mark Brown
ac92f11294
Merge remote-tracking branch 'asoc/topic/wm2000' into asoc-next
2012-12-10 00:22:23 +09:00
Mark Brown
0b0ddfa57c
Merge remote-tracking branch 'asoc/topic/wm0010' into asoc-next
2012-12-10 00:22:22 +09:00
Mark Brown
c0324fb3a1
Merge remote-tracking branch 'asoc/topic/tlv320aic32x4' into asoc-next
2012-12-10 00:22:20 +09:00
Mark Brown
2ca5e86c4c
Merge remote-tracking branch 'asoc/topic/si476x' into asoc-next
2012-12-10 00:22:19 +09:00
Mark Brown
a50345152e
Merge remote-tracking branch 'asoc/topic/rt5631' into asoc-next
2012-12-10 00:22:17 +09:00
Mark Brown
473e8b323c
Merge remote-tracking branch 'asoc/topic/max98090' into asoc-next
2012-12-10 00:22:15 +09:00
Mark Brown
29998eb618
Merge remote-tracking branch 'asoc/topic/max9768' into asoc-next
2012-12-10 00:22:15 +09:00
Mark Brown
edbe08adea
Merge remote-tracking branch 'asoc/topic/lm49453' into asoc-next
2012-12-10 00:22:13 +09:00
Mark Brown
18620cc586
Merge remote-tracking branch 'asoc/topic/jz4740' into asoc-next
2012-12-10 00:22:12 +09:00
Mark Brown
8df6bf1c58
Merge remote-tracking branch 'asoc/topic/hotplug' into asoc-next
2012-12-10 00:22:10 +09:00
Mark Brown
57769541b4
Merge remote-tracking branch 'asoc/topic/da9055' into asoc-next
2012-12-10 00:22:06 +09:00
Mark Brown
ac0d9c9001
Merge remote-tracking branch 'asoc/topic/da7210' into asoc-next
2012-12-10 00:22:05 +09:00
Mark Brown
f20eca1c06
Merge remote-tracking branch 'asoc/topic/cs4271' into asoc-next
2012-12-10 00:22:04 +09:00
Mark Brown
daa5ab9e0d
Merge remote-tracking branch 'asoc/topic/arizona' into asoc-next
2012-12-10 00:22:00 +09:00