diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2020-05-08 07:36:27 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-05-08 10:44:22 +0300 |
commit | 10aa8e4acf51b12a2db4ee2baaed67f70fbee9c2 (patch) | |
tree | d33c1daadcb54d29f07228e354cd61f19005f86f /sound/sound_core.c | |
parent | 8304cf77c92038cd1c50c27b69d30be695cc8003 (diff) | |
download | linux-10aa8e4acf51b12a2db4ee2baaed67f70fbee9c2.tar.xz |
ALSA: firewire-lib: use macro for maximum value of second in 1394 OHCI isoc descriptor
In descriptor of isochronous context in 1394 OHCI, the field of second
has 3 bit, thus the maximum value is 8. The value is used for correct
cycle calculation.
This commit replaces hard-coded value with macro to obsolete magic
number.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20200508043635.349339-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions