summaryrefslogtreecommitdiffstats
path: root/sound/usb/caiaq
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2014-09-21 22:50:57 +0200
committerTakashi Iwai <tiwai@suse.de>2014-09-22 08:51:35 +0200
commita9960e6a293e6fc3ed414643bb4e4106272e4d0a (patch)
treef00c53cde94fe2f6935adad07c8d56ee9795b984 /sound/usb/caiaq
parentALSA: hda - Add fixup model name lookup for Lemote A1205 (diff)
downloadlinux-a9960e6a293e6fc3ed414643bb4e4106272e4d0a.tar.xz
linux-a9960e6a293e6fc3ed414643bb4e4106272e4d0a.zip
ALSA: pcm: fix fifo_size frame calculation
The calculated frame size was wrong because snd_pcm_format_physical_width() actually returns the number of bits, not bytes. Use snd_pcm_format_size() instead, which not only returns bytes, but also simplifies the calculation. Fixes: 8bea869c5e56 ("ALSA: PCM midlevel: improve fifo_size handling") Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/caiaq')
0 files changed, 0 insertions, 0 deletions