diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index ddc61a1d1153..448c4ce816c3 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -370,7 +370,7 @@ static inline u32 get_wcaps(struct hda_codec *codec, hda_nid_t nid) | |||
370 | { | 370 | { |
371 | if (nid < codec->start_nid || | 371 | if (nid < codec->start_nid || |
372 | nid >= codec->start_nid + codec->num_nodes) | 372 | nid >= codec->start_nid + codec->num_nodes) |
373 | return snd_hda_param_read(codec, nid, AC_PAR_AUDIO_WIDGET_CAP); | 373 | return 0; |
374 | return codec->wcaps[nid - codec->start_nid]; | 374 | return codec->wcaps[nid - codec->start_nid]; |
375 | } | 375 | } |
376 | 376 | ||