diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-07-04 16:23:26 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-07-12 07:44:46 +0200 |
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 10d500d2ba3..e6bc16f66bc 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, hda_nid_t *conn_list, int max_conns); int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, const hda_nid_t **listp); +int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int nums, + const hda_nid_t *list); int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, hda_nid_t nid, int recursive); int snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid, |