summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_proc.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart2015-08-15 00:19:43 +0200
committerTakashi Iwai2015-08-16 08:48:47 +0200
commit395ae54bd8775508a9616817188cabbcd6f53260 (patch)
treede6bdb631be10f249c341ee86c056d6a00ae6f97 /sound/pci/hda/hda_proc.c
parentALSA: usb: fix corrupted pointers due to interface setting change (diff)
downloadkernel-qcow2-linux-395ae54bd8775508a9616817188cabbcd6f53260.tar.gz
kernel-qcow2-linux-395ae54bd8775508a9616817188cabbcd6f53260.tar.xz
kernel-qcow2-linux-395ae54bd8775508a9616817188cabbcd6f53260.zip
ALSA: usb: handle descriptor with SYNC_NONE illegal value
The M-Audio Transit exposes an interface with a SYNC_NONE attribute. This is not a valid value according to the USB audio classspec. However there is a sync endpoint associated to this record. Changing the logic to try to use this sync endpoint allows for seamless transitions between altset 2 and altset 3. If any errors happen, the behavior remains the same. $ more /proc/asound/card1/stream0 M-Audio Transit USB at usb-0000:00:14.0-2, full speed : USB Audio Playback: Status: Stop Interface 1 Altset 1 Format: S24_3LE Channels: 2 Endpoint: 3 OUT (ADAPTIVE) Rates: 48001 - 96000 (continuous) Interface 1 Altset 2 Format: S24_3LE Channels: 2 Endpoint: 3 OUT (NONE) Rates: 8000 - 48000 (continuous) Interface 1 Altset 3 Format: S16_LE Channels: 2 Endpoint: 3 OUT (ASYNC) Rates: 8000 - 48000 (continuous) Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_proc.c')
0 files changed, 0 insertions, 0 deletions