28 Dec, 2009
1 commit
-
As the release of substreams may be done asynchronously from the
disconnection, close callback needs to check the shutdown flag before
actually accessing the usb interface.Reference: Novell bnc#505027
http://bugzilla.novell.com/show_bug.cgi?id=565027Signed-off-by: Takashi Iwai
18 Dec, 2009
1 commit
-
When allocating the PCM buffer, use vmalloc_user() instead of vmalloc().
Otherwise, it would be possible for applications to play the previous
contents of the kernel memory to the speakers, or to read it directly if
the buffer is exported to userspace.Signed-off-by: Clemens Ladisch
Cc:Signed-off-by: Takashi Iwai
08 Dec, 2009
1 commit
-
I added the product IDs of the new revisions of the devices, so owners
can test whether this suffices to make them work. Patched against ALSA
snapshot 20091207.Signed-off-by: Tobias Hansen
Signed-off-by: Takashi Iwai
01 Dec, 2009
2 commits
-
Muse Pocket use brocken mixer names, so alsamixer and PA can't use it correctly
This patch add quirk to overwirte default mixers.Signed-off-by: Alexey Fisher
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
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
17 Nov, 2009
1 commit
-
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
14 Nov, 2009
1 commit
07 Nov, 2009
1 commit
-
Fix combine_word problem where first octet is not
read properly. The only affected place seems to be the
INPUT_TERMINAL type. Before now, sound controls can be created
with the output terminal's name which is a fallback mechanism
used only for unknown input terminal types. For example,
Line can wrongly appear as Speaker. After the change it
should appear as Line.The side effect of this change can be that users
can expect the wrong control name in their scripts or
programs while now we return the correct one.Probably, these defines should use get_unaligned_le16 and
friends.Signed-off-by: Julian Anastasov
Cc:
Signed-off-by: Takashi Iwai
01 Nov, 2009
1 commit
30 Oct, 2009
3 commits
-
Signed-off-by: Mark Hills
Acked-by: Daniel Mack
Signed-off-by: Takashi Iwai -
Fix a bug which can result in white noise from the driver after stream
start or unpause.Signed-off-by: Mark Hills
Acked-by: Daniel Mack
Signed-off-by: Takashi Iwai -
Fix a race which causes snd_pcm_update_hw_ptr_pos() to report a bug.
Signed-off-by: Mark Hills
Acked-by: Daniel Mack
Signed-off-by: Takashi Iwai
13 Oct, 2009
1 commit
-
snd-usb-us122l: corrent error number for not probing US-144 on ehci-hcd
This is the correct error number for telling the USB system that this
driver is not for the device.Signed-off-by: Tobias Hansen
Signed-off-by: Takashi Iwai
04 Oct, 2009
1 commit
-
* 'for-linus' of ssh://master.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (21 commits)
ALSA: usb - Use strlcat() correctly
ALSA: Fix invalid __exit in sound/mips/*.c
ALSA: hda - Fix / improve ALC66x parser
ALSA: ctxfi: Swapped SURROUND-SIDE mute
sound: Make keywest_driver static
ALSA: intel8x0 - Mute External Amplifier by default for Sony VAIO VGN-B1VP
ALSA: hda - Fix digita/analog mic auto-switching with IDT codecs
ASoC: fix kconfig order of Blackfin drivers
ALSA: hda - Added quirk to enable sound on Toshiba NB200
ASoC: Fix dependency of CONFIG_SND_PXA2XX_SOC_IMOTE2
ALSA: Don't assume i2c device probing always succeeds
ALSA: intel8x0 - Mute External Amplifier by default for Sony VAIO VGN-T350P
ALSA: echoaudio - Re-enable the line-out control for the Mia card
ALSA: hda - Resurrect input-source mixer of ALC268 model=acer
ALSA: hda - Analog Devices AD1984A add HP Touchsmart model
ALSA: hda - Add HP Pavilion dv4t-1300 to MSI whitelist
ALSA: hda - CD-audio sound for hda-intel conexant benq laptop
ASoC: DaVinci: Correct McASP FIFO initialization
ASoC: Davinci: Fix race with cpu_dai->dma_data
ASoC: DaVinci: Fix divide by zero error during 1st execution
...
02 Oct, 2009
1 commit
-
Don't pass the advanced position to strlcat() but just gives the buffer
head position so that the max size limit can be checked correctly.
Introduced a new helper function to standaralize strlcat() calls.Signed-off-by: Takashi Iwai
28 Sep, 2009
1 commit
-
* mark struct vm_area_struct::vm_ops as const
* mark vm_ops in AGP codeBut leave TTM code alone, something is fishy there with global vm_ops
being used.Signed-off-by: Alexey Dobriyan
Signed-off-by: Linus Torvalds
22 Sep, 2009
1 commit
-
Adds support for US-144 when attached on USB1.1.
Unlike the US-122L it uses both USB interfaces 0 and 1.Signed-off-by: Tobias Hansen
Signed-off-by: Takashi Iwai
10 Sep, 2009
2 commits
-
* topic/usb-audio:
ALSA: usb-audio - Fix types taken in min()
sound: usb-audio: do not make URBs longer than sync packet interval
sound: usb-audio: add MIDI drain callback
sound: usb-audio: use multiple output URBs
sound: usb-audio: use multiple input URBs
sound: usb-audio: Xonar U1 digital output support -
* topic/tlv-minmax:
ALSA: usb-audio - Correct bogus volume dB information
ALSA: usb-audio - Use the new TLV_DB_MINMAX type
ALSA: Add new TLV types for dBwith min/max
08 Sep, 2009
1 commit
-
Re-export snd_pcm_format_name() function to be used outside the PCM core.
As a first example, usbaudio is changed to use it now again.Signed-off-by: Takashi Iwai
11 Aug, 2009
1 commit
-
Fix the compile warning due to different integer types used in min():
sound/usb/usbaudio.c: In function 'init_substream_urbs':
sound/usb/usbaudio.c:1087: warning: comparison of distinct pointer types lacks a castSigned-off-by: Takashi Iwai
10 Aug, 2009
1 commit
-
Using more packets in one URB do avoid interrupts does not make sense
when we have a sync pipe whose packets generate interrupts more often.
Therefore, limit the URB size to the synchronization packet interval.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
26 Jul, 2009
1 commit
-
* fix/usb-audio:
ALSA: usb-audio - Volume control quirk for QuickCam E 3500
23 Jul, 2009
1 commit
-
This adds support for Native Instrument's freshly announced Audio2DJ
sound device hardware. Version number bumped to 1.3.19.Signed-off-by: Daniel Mack
Signed-off-by: Takashi Iwai
22 Jul, 2009
1 commit
-
- E3500 report cval->max more than it actually can handel, so if you
set 95% capture level it will be silently muted.
- Betwen cval->min and cval-max(real) is 2940 control units,
but real are only 7 with cval->res = 384.
- Alsa can't handel less than 10 controls, so make it more
and set cval->res = 192.Signed-off-by: Alexey Fisher
Signed-off-by: Takashi Iwai
15 Jul, 2009
5 commits
-
When draining, instead of waiting for fifty milliseconds, just wait for
the currently active URBs to complete. This cuts the usual waiting time
down to one USB frame, or zero in the common case when there is no URB.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Some newer USB MIDI interfaces use rather small packet sizes, so to get
enough bandwidth, we have to be able to send multiple packets in one USB
frame, so we have to use multiple URBs.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Some newer USB MIDI interfaces use rather small packet sizes, so to get
enough bandwidth, we have to be able to receive multiple packets in one
USB frame, so we have to use multiple URBs.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add support for the Asus Xonar U1. This device is mostly class compliant, but
the digital output requires a vendor-specific request.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Blue Microphones USB devices have an alternate setting that sends two
channels of data to the computer. Unfortunately, the descriptors of
that altsetting have a wrong channel setting, which means that any
recorded data from such a device has twice the sample rate from what
would be expected.This patch adds a workaround to ignore that altsetting. Since these
devices have only one actual channel, no data is lost.Signed-off-by: Clemens Ladisch
Cc:
Signed-off-by: Takashi Iwai
09 Jul, 2009
1 commit
-
Commit 5fd29d6ccbc98884569d6f3105aeca70858b3e0f ("printk: clean up
handling of log-levels and newlines") changed printk semantics. printk
lines with multiple KERN_ prefixes are no longer emitted as
before the patch.is now included in the output on each additional use.
Remove all uses of multiple KERN_s in formats.
Signed-off-by: Joe Perches
Signed-off-by: Linus Torvalds
02 Jul, 2009
2 commits
-
Fix the parent device to be the USB interface, not the USB device.
A similiar commit like 563c2bf59d392357bcc1d99642933cc88c687964.Signed-off-by: Takashi Iwai
-
The sound device instance needs to be a child of the USB interface, not
the USB device. Newer udev versions pay attention to that.Signed-off-by: Daniel Mack
Reported-by: Lennart Poettering
Signed-off-by: Takashi Iwai
22 Jun, 2009
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
ALSA: hda - Add model=6530g option
ALSA: hda - Acer Inspire 6530G model for Realtek ALC888
ALSA: snd_usb_caiaq: fix legacy input streaming
ASoC: Kill BUS_ID_SIZE
ALSA: HDA - Correct trivial typos in comments.
ALSA: HDA - Name-fixes in code (tagra/targa)
ALSA: HDA - Add pci-quirk for MSI MS-7350 motherboard.
ALSA: hda - Fix memory leak at codec creation
21 Jun, 2009
1 commit
-
* topic/caiaq:
ALSA: snd_usb_caiaq: fix legacy input streaming