Lars-Peter Clausen
3b283f0893
ASoC: adau1761: Fix input PGA volume
...
For the input PGA to work correctly the ALC clock needs to be active.
Otherwise volume changes are not applied.
Fixes: dab464b60b ("ASoC: Add ADAU1361/ADAU1761 audio CODEC support")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Cc: stable@vger.kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-22 10:24:14 +01:00
Takashi Iwai
b46882b6eb
Merge branch 'topic/hda-lo-jack' into for-next
2014-10-22 07:57:12 +02:00
Vinod Koul
7f26680170
ASoC: intel: use __iowrite32_copy for 32 bit copy
...
The sst-firmware was also using own method to do 32bit copy, turns out we have a
kernel API so use that instead
[For BYT]
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com >
Signed-off-by: Vinod Koul <vinod.koul@intel.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-21 23:59:00 +01:00
Vinod Koul
33c1256f1c
ASoC: intel: explain why block not found isn't error always
...
The IPC blocking can be error when we don't find block or a short message,
explain that by adding a comment about this scenario
Signed-off-by: Vinod Koul <vinod.koul@intel.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-21 23:58:59 +01:00
Vinod Koul
dee2ce696e
ASoC: intel: fix the kernldoc comment
...
copypaste error on function sst_get_num_channel caused the comment to be
wrong, so fix it here
Signed-off-by: Vinod Koul <vinod.koul@intel.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-21 23:58:59 +01:00
Vinod Koul
790b4075b3
ASoC: intel: log an error on double free
...
the stream context should be freed only once on stream cleanup. If we ever
hit a chance that stream context is getting double freed, though not an
cause of panic as memory allocator can deal with this, we should still log
this to help in finding issues and debugging
Signed-off-by: Vinod Koul <vinod.koul@intel.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-21 23:58:59 +01:00
Vinod Koul
b3baaa47cc
ASoC: intel: use __iowrite32_copy for 32 bit copy
...
The driver was using own method to do 32bit copy, turns out we have a kernel
API so use that instead
Tested-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com >
Signed-off-by: Vinod Koul <vinod.koul@intel.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-21 23:58:59 +01:00
Rasmus Villemoes
98ad73c995
ASoC: dapm: Remove redundant cast
...
Both path->name and e->texts[i] have type const char*, so the cast is
slightly confusing and certainly unnecessary.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-21 22:24:31 +01:00
Alban Bedel
469cda294d
ASoC: tegra: Read and use the GPIO flags of the headphone detect
...
The headphone detect was hardcoded to low-active, use the flags from
DT to allow high-active as well.
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de >
Acked-by: Stephen Warren <swarren@nvidia.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2014-10-21 22:23:37 +01:00
Takashi Iwai
dde1c652d7
ALSA: pcm: Fix false lockdep warnings
...
As PCM core handles the multiple linked streams in parallel, lockdep
gets confused (partly because of weak annotations) and spews the
false-positive warnings. This hasn't been a problem for long time but
the latest PCM lock path update seems to have woken up a sleeping
dog.
Here is an attempt to paper over this issue: pass the lock subclass
just calculated from the depth in snd_pcm_action_group(). Also, a
(possibly) wrong lock subclass set in snd_pcm_action_lock_mutex() is
dropped, too.
Reported-and-tested-by: Arthur Marsh <arthur.marsh@internode.on.net >
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 18:17:02 +02:00
Sudip Mukherjee
cf6814f2b5
ALSA: ctxfi: remove unused variable
...
As of now the pointer to struct dai is not being used anywhere in the
function. So it is safe to remove the variable.
If we are ever doing anything with the container_of(daio, struct dai, daio),
then at that time we can again add the variable.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org >
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 16:06:13 +02:00
Takashi Iwai
7bbd03e014
ALSA: usb-audio: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:19:05 +02:00
Takashi Iwai
c8dd33fc80
ALSA: 6fire: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:17:47 +02:00
Takashi Iwai
5fe0b0e3ea
ALSA: sparc: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:14:28 +02:00
Takashi Iwai
9502272163
ALSA: ppc: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:13:59 +02:00
Takashi Iwai
9883ab91e3
ALSA: via82xx: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:13:24 +02:00
Takashi Iwai
3e4bc5b78e
ALSA: sonicvibes: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:12:51 +02:00
Takashi Iwai
7298ece7a2
ALSA: rme9652: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:12:11 +02:00
Takashi Iwai
c69a637b4d
ALSA: hdspm: Use snd_ctl_enum_info()
...
... and reduce the open codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:10:58 +02:00
Takashi Iwai
8d678da9f0
ALSA: hdsp: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:10:53 +02:00
Takashi Iwai
9c30d46a0f
ALSA: rme96: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:07:50 +02:00
Takashi Iwai
11c6ef7c8d
ALSA: rme32: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:05:24 +02:00
Takashi Iwai
08455ace3c
ALSA: pcxhr: Use snd_ctl_enum_info()
...
... and reduce the open codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:04:18 +02:00
Takashi Iwai
f861237c80
ALSA: korg1212: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:04:07 +02:00
Takashi Iwai
597da2e4df
ALSA: ice1724: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:02:50 +02:00
Takashi Iwai
c4fa251f6f
ALSA: ice1712: Use snd_ctl_enum_info()
...
... and reduce the open codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:01:06 +02:00
Takashi Iwai
3ff7221932
ALSA: hda: Use snd_ctl_enum_info()
...
... and reduce the open codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:00:49 +02:00
Takashi Iwai
ca776a28ae
ALSA: fm801: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 09:00:29 +02:00
Takashi Iwai
6b6b295e80
ALSA: es1938: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:59:59 +02:00
Takashi Iwai
1541c66d3b
ALSA: emu10k1: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:59:23 +02:00
Takashi Iwai
c69a4f3046
ALSA: echoaudio: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:56:28 +02:00
Takashi Iwai
de95eae25a
ALSA: ca0106: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also correct the array size and add
missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:55:04 +02:00
Takashi Iwai
9b311a0ad9
ALSA: azt3328: Use snd_ctl_enum_info()
...
... and reduce the open codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:53:54 +02:00
Takashi Iwai
4d765e48c5
ALSA: aw2: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:53:43 +02:00
Takashi Iwai
30d0ae425a
ALSA: asihpi: Use snd_ctl_enum_info()
...
... and reduce the open codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:52:13 +02:00
Takashi Iwai
1bc10bb68d
ALSA: ac97: Constify more text arrays
...
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:51:45 +02:00
Takashi Iwai
3b7a00dc9e
ALSA: ac97: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:49:43 +02:00
Takashi Iwai
3c6a73cc6b
ALSA: parisc: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:37:36 +02:00
Takashi Iwai
2a2085ab19
ALSA: mips: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:36:44 +02:00
Takashi Iwai
0773efa532
ALSA: wss: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:35:53 +02:00
Takashi Iwai
6b9e1288a5
ALSA: sb16: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:34:52 +02:00
Takashi Iwai
8edd2d120b
ALSA: msnd: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:33:35 +02:00
Takashi Iwai
4e28350a8c
ALSA: es18xx: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:32:47 +02:00
Takashi Iwai
69b0c762cf
ALSA: es1688: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also correct the array size and add
missing const.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:31:36 +02:00
Takashi Iwai
1da0c47779
ALSA: ad1816a: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:30:40 +02:00
Takashi Iwai
609e478b40
ALSA: ak4xxx-adda: Use snd_ctl_enum_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:29:54 +02:00
Takashi Iwai
41be5164ea
ALSA: bebob: Use snd_ctl_enum_info()
...
... and reduce the open codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:26:55 +02:00
Takashi Iwai
e7ced4137d
ALSA: bebob: More constify text arrays
...
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:26:10 +02:00
Takashi Iwai
7f471fd407
ALSA: vx: Use snd_ctl_elem_info()
...
... and reduce the open codes. Also add missing const to text arrays.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:12:15 +02:00
Takashi Iwai
6d416f594b
ALSA: mts64: Use snd_ctl_elem_info()
...
... and reduce the open codes. Also add missing const to the text array.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
2014-10-21 08:10:54 +02:00