]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Expose sample resolution through proc interface
authorJussi Laako <jussi@sonarnerd.net>
Sun, 17 Feb 2019 22:17:21 +0000 (00:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Feb 2019 08:36:09 +0000 (09:36 +0100)
commitb82bbb3f40160ae2385baf7f93c3a24a017143cd
treed0d8757c02033712f513904f827962e0b0c3fded
parentf8b729762f845c5a888d988911fb0930fed9a9b0
ALSA: usb-audio: Expose sample resolution through proc interface

At least some USB devices use (MSB-aligned) audio format larger
than the actual resolution of the device. In order to expose the
actual device resolution (bBitResolution), add extra field to the
procfs stream info interface.

Signed-off-by: Jussi Laako <jussi@sonarnerd.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.h
sound/usb/format.c
sound/usb/proc.c