summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_generic.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-08-29 09:52:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-16 08:20:43 +0200
commit3dd3ca376c0868a718999978fcf58c3a60853fd8 (patch)
tree1fabe79ba7c43867481b40d4328cea4b4bbe2bbe /sound/pci/hda/hda_generic.c
parente2cd24b629389b52a31d96d226ed150dacab9cdd (diff)
ALSA: hda - Fix potential endless loop at applying quirks
commit 333f31436d3db19f4286f8862a00ea1d8d8420a1 upstream. Since the chained quirks via chained_before flag is applied before the depth check, it may lead to the endless recursive calls, when the chain were set up incorrectly. Fix it by moving the depth check at the beginning of the loop. Fixes: 1f57825077dc ("ALSA: hda - Add chained_before flag to the fixup entry") Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
0 files changed, 0 insertions, 0 deletions