diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-02-18 04:30:26 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-02-19 09:25:52 +0100 |
commit | 77ce96543b03f437c6b45f286d8110db2b6622a3 (patch) | |
tree | b704f7bdeadf46218cdae5fc65d34c6e276e69c2 /sound/pci/hda/patch_realtek.c | |
parent | ALSA: usb-audio: More relaxed check of MIDI jack names (diff) | |
download | linux-77ce96543b03f437c6b45f286d8110db2b6622a3.tar.xz linux-77ce96543b03f437c6b45f286d8110db2b6622a3.zip |
ALSA: firewire-lib: fix to check cycle continuity
The local helper function to compare the given pair of cycle count
evaluates them. If the left value is less than the right value, the
function returns negative value.
If the safe cycle is less than the current cycle, it is the case of
cycle lost. However, it is not currently handled properly.
This commit fixes the bug.
Cc: <stable@vger.kernel.org>
Fixes: 705794c53b00 ("ALSA: firewire-lib: check cycle continuity")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20240218033026.72577-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions