diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-07-04 10:23:26 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-07-12 01:44:46 -0400 |
commit | b2f934a0dffd4153e9447ee9e0090e357a3d8b3b (patch) | |
tree | 88237adf2e9523f3f955b7f79c9a47061dc044c6 /sound/pci/hda/hda_codec.h | |
parent | 19110595c89b2d606883b7cb99260c7e47fd2143 (diff) |
ALSA: hda - Add snd_hda_override_conn_list() helper function
Add a function to add/modify the connection-list cache entry.
It'll be useful to fix a buggy hardware result.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 10d500d2ba33..e6bc16f66bce 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -905,6 +905,8 @@ int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, | |||
905 | hda_nid_t *conn_list, int max_conns); | 905 | hda_nid_t *conn_list, int max_conns); |
906 | int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, | 906 | int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, |
907 | const hda_nid_t **listp); | 907 | const hda_nid_t **listp); |
908 | int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int nums, | ||
909 | const hda_nid_t *list); | ||
908 | int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, | 910 | int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, |
909 | hda_nid_t nid, int recursive); | 911 | hda_nid_t nid, int recursive); |
910 | int snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid, | 912 | int snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid, |