01 Dec, 2009
1 commit
30 Nov, 2009
5 commits
-
pcm->r[1].slots is the double rate slot information, not the
capture information. For capture, 'pcm' will already be the
capture ac97 pcm structure.Signed-off-by: Russell King
Cc:
Signed-off-by: Takashi Iwai -
Signed-off-by: Russell King
Cc:
Signed-off-by: Takashi Iwai -
The PCM12 and PCM20 can be set into the ISA PnP mode. The PCM12 PnP
was sold as the PnP device.
Add code to handle detection of these cards using ISA PnP framework.Tested on the PCM20 in PnP mode. The PCM12 PnP has the same MS Windows
INF file except for a card name displayed for user.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai -
Separate common probing code in order to use it
for PnP probing.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
28 Nov, 2009
1 commit
-
This patch fixes two issues:
a) Infinite loop in resume function
b) Writes to non-existing registers in resume functionCc: stable@kernel.org
Signed-off-by: Anuj Aggarwal
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
27 Nov, 2009
3 commits
-
This is recreated driver for the FM module found on Miro
PCM20 sound cards. This driver was removed around the 2.6.2x
kernels because it relied on the removed OSS module. Now, it
uses a current ALSA module (snd-miro) and is adapted to v4l2
layer.It provides only basic functionality: frequency changing and
FM module muting.Signed-off-by: Krzysztof Helt
Reviewed-by: Hans Verkuil
Acked-by: Mauro Carvalho Chehab
Signed-off-by: Takashi Iwai -
If a hardware is not detected there is a kernel crash
due to not initialized snd_miro->aci pointer. This pointer
is initialized after detection of the opti (miro) chip.This bug was introduced by patches to expose
ACI mikser outside the snd-miro driver.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
25 Nov, 2009
1 commit
-
BugLink: https://bugs.launchpad.net/bugs/487884
This Gateway model needs External Amplifier muted for audible playback,
so set the inv_eapd quirk for it.Signed-off-by: Daniel T Chen
Signed-off-by: Takashi Iwai
24 Nov, 2009
3 commits
-
The chip field is no longer needed. Move those of its fields that are
actually used to the device structure itself.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Remove the dependecy from the USB MIDI code on the snd_usb_audio
structure. This allows using the USB MIDI module from another driver
without having to pretend to be the generic USB audio driver.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add a mixer control to select between the two altsettings on Roland USB
MIDI devices where the input endpoint is either bulk or interrupt.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
23 Nov, 2009
4 commits
-
When we get a stream suspend event force the power down since otherwise
the stream would remain marked as active. In future we'll probably want
to make this stream-specific and add an interface to make the power down
of other widgets optional in order to support leaving bypass paths
active while suspending the processor.Cc: stable@kernel.org
Reported-by: Joonyoung Shim
Tested-by: Joonyoung Shim
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Fix the buffer size calculation to use the size which ALSA is expecting.
Signed-off-by: Russell King
Signed-off-by: Takashi Iwai -
The ACI mixer is used to control the radio FM module
installed on the Miro PCM20 sound card. Expose ACI mixer
outside the sound card driver.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai -
Move the miro.h header to the include/sound directory. It can
be used in the Miro PCM20 radio driver (v4l).Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
22 Nov, 2009
1 commit
-
Remove the snd_card pointer from the snd_miro structure and
do some small code improvements.Also, move Opti chipset detection before detection of the
ACI mixer, so the mci_base value is set in one place only.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
20 Nov, 2009
2 commits
-
Use hweight16 instead of Brian Kernighan's/Peter Wegner's method
Signed-off-by: Akinobu Mita
Signed-off-by: Takashi Iwai -
Add support for the Roland UA-1G audio interface.
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
19 Nov, 2009
1 commit
-
Use db scale for all volume controls according to Crystal's datasheets.
Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
18 Nov, 2009
9 commits
-
Fix the ordering of sr_valid_mask array.
The lower bit of the index represents USB
not bosr.Reported-by: Anuj Aggarwal
Signed-off-by: Troy Kisky
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
A while ago TWL4030 had it's playback stream name changed, but
pandora needs it for it's playback path. Update to correct stream
name so that playback works again.Also mark VIBRA output as not connected.
Signed-off-by: Grazvydas Ignotas
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Correcting the license string from GPLv2 -> GPL v2.
Found the problem while building OMAP3 ASoC driver as
module.Signed-off-by: Anuj Aggarwal
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This function is only called from snd_ctl_ioctl() and the file parameter
can never be null so there is no need to check it here.We dereference file at the start of the function:
struct snd_card *card = file->card;
and it confuses static checkers to dereference a pointer before
checking it.Signed-off-by: Dan Carpenter
Signed-off-by: Takashi Iwai -
To fix a build error
sound/isa/opti9xx/miro.c:1281: error: expected ';' before '}' tokenSigned-off-by: Takashi Iwai
-
Use the fm_port and mpu_port variables directly in a probe function.
This completely eliminates a need to copy the fm_port value to
the snd_miro structure.Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai -
Update control names to be more closer to their meaning.
Change the "Mono" name to the "Beep" as this line is usually
used to forward the PC beeper signal to sound card's output.
Update names for both cs423x and wss.Clean up cs4235 controls according to the cs4235 doc. Rename
some of the cs4235 controls to be consistent with the cs4236's
ones.Also, delete one misnamed cs4231 register define.
Signed-off-by: Krzysztof Helt
Signed-off-by: Takashi Iwai
17 Nov, 2009
4 commits
-
Vaio type G laptop doesn't work with the current quirk setup.
After some tests, it turned out that it should be model=auto as default.Reported-by: Mattia Dongili
Signed-off-by: Takashi Iwai -
Disable the master volume control in the PCM2702 chipset.
The datasheet documents two independent channel volume controls, one
master mute control and one master volume control. All controls are
fully functional except for the master volume control, which returns
USB stalls on all GET requests.Signed-off-by: Javier Kohen
Signed-off-by: Takashi Iwai -
Fix a typo in the help text in sound/Kconfig.
Signed-off-by: Timothy Knoll
Signed-off-by: Takashi Iwai -
When the {orig,midi}_dev equals num_midis, that's one too
large already.Signed-off-by: Roel Kluin
Signed-off-by: Takashi Iwai
16 Nov, 2009
2 commits
-
This is a clean up and doesn't change the behavior.
Bit fields should always be unsigned. Otherwise pm_suspend_enabled will
be -1 when you want it to be 1. The other bad thing is that the sparse
checker will complain 36 times if they aren't unsigned.The other bitfields in that struct are unsigned already.
Signed-off-by: Dan Carpenter
Signed-off-by: Takashi Iwai
15 Nov, 2009
1 commit
-
Add the Dell Studio 15 (model 1557, Core i7) laptop to the hd-audio
quirk list, enabling audio.Signed-off-by: Daniel J Blueman
Cc:
Signed-off-by: Takashi Iwai
14 Nov, 2009
2 commits
-
Remove invlid __devinit prefix from the suspend callback.
Signed-off-by: Takashi Iwai