| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
Greatly improves audio quality in testing by reducing gain by ~10dB.
Change-Id: If4a9e75cf97c98cba3fe022e9e780febdacac19f
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
| |
| |
| |
| |
| |
| |
| | |
It can't be inlined as we keep references to it and refer to it in other
compilation units.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rather than inserting large sleeps waiting for the DC servo to complete
poll the DC servo status to see if the hardware is done. This ensures that
the delays aren't too long while also avoiding races with the hardware.
In order to aid debug during the transition an info level print displaying
the time taken to complete is left in by default, allowing comparison with
the dead reckinging delays used previously. Overall we save ~5ms in my
tests.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
| |
| |
| |
| |
| |
| | |
Kills reams of warnings (one per use) with sparse.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Only have one call to universal_mic_path().
- Use a switch statement rather than cascaded if () statements for
clarity.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bluetooth sco.
1. modified wrong source of AIF3ADC & AI3DAC when disabling bluetooth sco
Change-Id: If66436d5f681f7cac9cbe693153431fd586f1b90
Signed-off-by: UK KIM <w0806.kim@samsung.com>
|
| |
| |
| |
| |
| |
| |
| | |
devide gain table with default table not to effect default gain table value.
Change-Id: I369fa9e3dfe3c733e0ba6797a44d75b0c26baf15
Signed-off-by: UK KIM <w0806.kim@samsung.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1.changed register setting sequence.
- mixer, input power up -> clamp enable -> input mixer setting ->
AIF1 adc mute -> AIF1 controller setting -> AIF1 ADC power up ->
routing and gain setting -> AIF1 adc unmute
2. add HPF filter
Signed-off-by: UK KIM <w0806.6.kim@samsung.com>
Change-Id: I94f66eb86f08d96c0c4c77d506ae16742a197831
|
| |
| |
| |
| |
| |
| |
| |
| | |
When the aplay was configured by period count 2, didn't play sound stream.
I modified that able to support various period count.
Change-Id: I175f0f34aac1eb7710d39740ba260872c3d04758
Signed-off-by: Lakkyung Jung <lakkyung.jung@samsung.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
left output volume : -8db -> 0 db
right output volume : -8db -> 0 db
mode : MP3 playback mode
Change-Id: Id701e9844589a994ec8e71d13d7239b6b9ce8f7c
Signed-off-by: UK KIM <w0806.kim@samsung.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. add bluetooth sco path
2. clean up codec driver
3. fix sound mute issue when output device is changed in voip
4. recognition param is added for recognition rate up
Change-Id: I89f0c3ab628bc0adaf0fc809ac5745e2912d98bb
Signed-off-by: UK KIM <w0806.6.kim@samsung.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ib84e97698656150394002ad2e0db0d29457b3fff
Signed-off-by: Lakkyung Jung <lakkyung.jung@samsung.com>
|
| |
| |
| |
| |
| |
| |
| | |
Code clean up & fix compile warnning.
Change-Id: If1399d566e53bb86b0a15a5ced6c42094a484548
Signed-off-by: Lakkyung Jung <lakkyung.jung@samsung.com>
|
| |
| |
| |
| |
| | |
Change-Id: I7d9136c5141c0540440fb88fcef60dcdbb1071c5
Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
|
| |
| |
| |
| |
| |
| |
| | |
Code clean up & fix compile warnning.
Change-Id: Id6638726fda2527a139ff442ac5a38ad239ab786
Signed-off-by: Lakkyung Jung <lakkyung.jung@samsung.com>
|
| |
| |
| |
| |
| |
| |
| | |
Code clean up & fix compile warnning.
Change-Id: Ief1f0c1d97940c0cf8608cb63a3fd4370cb1e465
Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Device fix sampling rate to use alsa resampler automatically.
This commit depends on libaudio's resampler plugin
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Change-Id: Ic653b113c383489fcff29992aeb8fe624811d381
|
| |
| |
| |
| |
| | |
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Change-Id: Id5c1989203014aa72ba0f24de9cdff52e932811e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
if clock and interface is set on status of amp opened, pop noise occurs.
codec driver works by PCM Stream.
strange value name was changed from old base code.
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Change-Id: Ia88b6b79fcc82900bb5411bf9bc786afe6b01f42
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In current Herring hw, the gpio used for mic bias is shared between
the audio driver for the main mic bias, and the headset jack driver
for headset mic bias. This will be split in Rev1.0 HW, but to support
both, change the audio driver to use a function ptr so we can customize
handling based on board rev in the board file.
Also cleaned up problems in error handling in _probe, and get rid of
global pdata.
Change-Id: Ic0b7f656a72cd3e9544bd358e2c949c302912a0b
Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
|
| |
| |
| |
| |
| |
| |
| | |
update codec gain values(mp3 playback, voicecall receiver)
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Change-Id: I656bc94e8e57b0c5f830d89005eb4a644a25a509
|
| |
| |
| |
| |
| | |
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Change-Id: I630bbd68cfd1000725777f71496bf9e2bb322a7f
|
| |
| |
| |
| |
| |
| |
| | |
According to Wolfson's guide, i2c operation must be enabled after codec VMID is stable up.
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Change-Id: Ic6b7e9d55c74c8545e760b831222ff0e0227d98f
|
| |
| |
| |
| |
| |
| |
| | |
added BT recording Path
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Change-Id: I57fde42fa610d1a761ef6e49cb00da80c6703c18
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
added wm8994_s5pc110.c wm8994_s5pc110.h instead of wm8994.c and wm8994.h
change header name included
modify source codes accroding to linux coding style.
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Change-Id: I8dc8b103db6bc1d12162982c42b3e35377c9aeea
|
| |
| |
| |
| |
| |
| |
| |
| | |
just modify wm8994_herring.c file according to linux coding style
Signed-off-by: UK KIM <w0806.kim@samsung.com>
Change-Id: I899a9cffd56ff752931f2ea3f60089f9bbbce810
|
| |
| |
| |
| | |
Change-Id: I75ef3e8ffc696200b69736122a7c023e3ff0fb5a
|
| | |
|
| |
| |
| |
| |
| | |
IIS can operate with internal DMA without LP audio mode.
cpu-dai name changed to S5P series.
|
| |
| |
| |
| |
| |
| | |
herring_defconfig : Macro renamed for better compatibility in S5P series.
wm899.c,wm8994_herring.c,herring_wm8994.c: Modified to support renamed macros.
Kconfig: Macro renamed for compatibility in S5P series.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IIS0 operating with internal DMA with single buffer as External DMA gives some error.
WM8994 codec driver is added from SLSI earlier code base(29/32 kernel, used for S1/P1).
Reverts files to 2.6.35 versions
Change-Id: Id1cc5b862217b629adaae20943a98fd86a342385
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 051a8cb6550d917225ead1cd008b5966350f6d53 upstream.
The previous fix for the position-buffer check gives yet another
regression on a Dell laptop. The safest fix right now is to add a
static quirk for this device (and better to apply it for stable
kernels too).
Reported-by: Éric Piel <Eric.Piel@tremplin-utc.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit ca201c096269ee2d40037fea96a59fd0695888c4 upstream.
This is patch for Conexant codec of Intel HDA driver, adding new quirk
for Lenovo Thinkpad T520 and W520. Conexant autodetection works fine for
T520 (similar subsystem ID is used also in W520 model) and detects more
mixer features compared to generic (fallback) Lenovo quirk with
hardcoded options in Conexant codec.
Patch was activelly tested with Linux 3.0.4, 3.0.6 and 3.0.7 without any
problems.
Signed-off-by: Daniel Suchy <danny@danysek.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 21d17dd2a377ba894f26989915eb3c6e427a3656 upstream.
Current code set update bits for WM8753_LDAC and WM8753_RDAC twice,
but missed setting update bits for WM8753_LADC and WM8753_RADC.
I think it is a copy-paste bug in commit 776065
"ASoC: codecs: wm8753: Fix register cache incoherency".
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit eff919ac0fc7565e71ffa35657c333dd8cdc0520 upstream.
A recent conversion has introduced references to &pdev->dev, which does
not actually exist in all the contexts it's used in.
Replace this with card->dev where necessary, in order to let
the driver build again.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 46724c2e023cb7ba5cd5000dee6481f0a15ebed9 upstream.
BugLink: http://bugs.launchpad.net/bugs/854468
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
probing flag
commit 61a6a108d15213f5ee06332e1e7766d3860e4453 upstream.
Before clearing the probing flag in the error exit path, check that the
chip pointer is not NULL.
Signed-off-by: Thomas Pfaff <tpfaff@gmx.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 6656b15d675c9c6a049db48d50994b3cd4e76bd6 upstream.
This patch is necessary to make internal speakers work on this chip.
BugLink: http://bugs.launchpad.net/bugs/854468
Tested-by: Alex Wolfson <alex.wolfson@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 5fe6e0151dbd969f5fbcd94d05c968b76d76952b upstream.
When the headphone pin is assigned as primary output to line_out_pins[],
the automatic HP-pin assignment by ASSID must be suppressed. Otherwise
a wrong pin might be assigned to the headphone and breaks the auto-mute.
Reference: https://bugzilla.novell.com/show_bug.cgi?id=716104
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 9058020cd9ae3423d6fe7de591698dc96b6701aa upstream.
Currently the the internal oscillator is powered down when entering BIAS_OFF
state, but not re-enabled when going back to BIAS_STANDBY. As a result the
CODEC will stop working after suspend if the internal oscillator is used to
generate the sysclock signal. This patch fixes it by clearing the appropriate
bit in the power down register when the CODEC is re-enabled.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 34c869855a28af3c6031d29e2267b5a3cce0d67d upstream.
Attempt to change McBSP CLKS source while another stream is active is not
safe after commit d135865 ("OMAP: McBSP: implement functional clock
switching via clock framework") in 2.6.37.
CLKS parent clock switching using clock framework have to idle the McBSP
before switching and then activate it again. This short break can cause a
DMA transaction error to already running stream which halts and recovers
only by closing and restarting the stream.
This goes more fatal after commit e2fa61d ("OMAP3: l3: Introduce
l3-interconnect error handling driver") in 2.6.39 where l3 driver detects a
severe timeout error and does BUG_ON().
Fix this by not changing any configuration in omap_mcbsp_dai_set_dai_sysclk
if the McBSP is already active. This test should have been here just from
the beginning anyway.
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit c37279b92aba2893578f61076cd2eef5c5fa0e99 upstream.
Commit 9676001559fce06e37c7dc230ab275f605556176
("ALSA: fm801: add error handling if auto-detect fails") seems to
break systems that were previously working without a tuner.
As a bonus, this should fix init and cleanup for the case where the
tuner is explicitly disabled.
Reported-and-tested-by: Hor Jiun Shyong <jiunshyong@gmail.com>
References: http://bugs.debian.org/641946
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 2ba34e43ba0469086d1ff81c13a9aa9070c1a0e1 upstream.
Commit 9676001559fce06e37c7dc230ab275f605556176
("ALSA: fm801: add error handling if auto-detect fails") added
incorrect error handling.
Once we have successfully called snd_device_new(), the cleanup
function fm801_free() will automatically be called by snd_card_free()
and we must *not* also call fm801_free() directly.
Reported-by: Hor Jiun Shyong <jiunshyong@gmail.com>
References: http://bugs.debian.org/641946
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 362e4e49abe53e89d87455dfcd7c1bbaf08a839d upstream.
The Terratec Aureon 5.1 USB sound card support is broken since kernel
2.6.39.
2.6.39 introduced power management support for USB sound cards that added
a probing flag in struct snd_usb_audio.
During the probe of the card it gives following error message :
usb 7-2: new full speed USB device number 2 using uhci_hcd
cannot find UAC_HEADER
snd-usb-audio: probe of 7-2:1.3 failed with error -5
input: USB Audio as
/devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.3/input/input6
generic-usb 0003:0CCD:0028.0001: input: USB HID v1.00 Device [USB Audio]
on usb-0000:00:1d.1-2/input3
I can not comment about that "cannot find UAC_HEADER" error, but until
2.6.38 the card worked anyway.
With 2.6.39 chip->probing remains 1 on error exit, and any later ioctl
stops in snd_usb_autoresume with -ENODEV.
Signed-off-by: Thomas Pfaff <tpfaff@gmx.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 8974bd51a77824d91010176f9a5da28513c2e1f5 upstream.
When the system has only the headphone and the line-out jacks without
speakers, the current auto-mute code doesn't work. It's because the
spec->automute_lines flag is wrongly referred in update_speakers().
This flag must be meaningless when spec->automute_hp_lo isn't set, thus
they should be always coupled.
The patch fixes the problem and add a comment to indicate the
relationship briefly.
BugLink: http://bugs.launchpad.net/bugs/851697
Reported-by: David Henningsson <david.henningsson@canonical.com>
Tested-By: Jayne Han <jayne.han@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 763437a9e7737535b2fc72175ad4974048769be6 upstream.
wait_for_avail() in pcm_lib.c has a race in it (observed in practice by an
Intel validation group).
The function is supposed to return once space in the buffer has become
available, or if some timeout happens. The entity that creates space (irq
handler of sound driver and some such) will do a wake up on a waitqueue
that this function registers for.
However there are two races in the existing code
1) If space became available between the caller noticing there was no
space and this function actually sleeping, the wakeup is missed and the
timeout condition will happen instead
2) If a wakeup happened but not sufficient space became available, the
code will loop again and wait for more space. However, if the second
wake comes in prior to hitting the schedule_timeout_interruptible(), it
will be missed, and potentially you'll wait out until the timeout
happens.
The fix consists of using more careful setting of the current state (so
that if a wakeup happens in the main loop window, the schedule_timeout()
falls through) and by checking for available space prior to going into the
schedule_timeout() loop, but after being on the waitqueue and having the
state set to interruptible.
[tiwai: the following changes have been added to Arjan's original patch:
- merged akpm's fix for waitqueue adding order into a single patch
- reduction of duplicated code of avail check
]
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 2e1210bc3d065a6e26ff5fef228a9a7e08921d2c upstream.
This patch fixes "Surround Speaker Playback Volume" being cut off.
(Commit b4dabfc452a10 was probably meant to fix this, but it fixed
only the "Switch" name, not the "Volume" name.)
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit c5d2e650bd805a00ff9af537d5b5dede598a198c upstream.
Fix the codec_name field of the dai_link to match the actual device name
of the codec. Otherwise the card won't be instantiated.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|