diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2020-05-08 06:36:32 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-05-08 09:46:01 +0200 |
commit | 274fc3558133d33311b22a962d0f362ddd281b51 (patch) | |
tree | b1aed297b8442df5bc23fcf840a544837ee7487a /drivers | |
parent | ALSA: firewire-lib: code refactoring for syt offset calculation (diff) | |
download | linux-274fc3558133d33311b22a962d0f362ddd281b51.tar.xz linux-274fc3558133d33311b22a962d0f362ddd281b51.zip |
ALSA: firewire-lib: code refactoring for data block calculation
When calculating the number of data blocks per packet, some states are
stored in AMDTP stream structure. This is inconvenient when reuse the
calculation from non-stream structure.
This commit applies refactoring to helper function for the calculation
so that the function doesn't touch AMDTP stream structure.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20200508043635.349339-8-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions