summaryrefslogtreecommitdiffstats
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-11-07 10:32:47 +0100
committerTakashi Iwai <tiwai@suse.de>2012-11-07 14:42:00 +0100
commit5b3761954dac2d1393beef8210eb8cee81d16b8d (patch)
treed72f684863372804ae1d1203c3ab552c4b0f4a03 /crypto/pcrypt.c
parentae24c3191ba2ab03ec6b4be323e730e00404b4b6 (diff)
ALSA: hda - Fix empty DAC filling in patch_via.c
In via_auto_fill_adc_nids(), the parser tries to fill dac_nids[] at the point of the current line-out (i). When no valid path is found for this output, this results in dac = 0, thus it creates a hole in dac_nids[]. This confuses is_empty_dac() and trims the detected DAC in later reference. This patch fixes the bug by appending DAC properly to dac_nids[] in via_auto_fill_adc_nids(). Reported-by: Massimo Del Fedele <max@veneto.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions