commit | d303c5d38b37eed066c0f704c5a76353bce27284 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jun 01 18:24:54 2021 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Jun 02 09:01:30 2021 +0200 |
tree | 35d8605a4a386798bbf562920d74db789eb8cd18 | |
parent | cdebd5530360cfd6240b1692a4c60212a2e39c8a [diff] |
ALSA: usb-audio: Pre-calculate buffer byte size There are a bunch of lines calculating the buffer size in bytes at each time. Keep the value in subs->buffer_bytes and use it consistently for the code simplicity. Link: https://lore.kernel.org/r/20210601162457.4877-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>