/* select the input connection of the given node.  */
static int select_input_connection(struct hda_codec *codec, struct hda_gnode *node, unsigned int index)
/* select the input connection of the given node.  */
static int select_input_connection(struct hda_codec *codec, struct hda_gnode *node, unsigned int index)
{
	snd_printdd("CONNECT: NID=0x%x IDX=0x%x\n", node->nid, index);
	return snd_hda_codec_write_cache(codec, node->nid, 0,
					 AC_VERB_SET_CONNECT_SEL, index);
}