ALSA: hda/realtek - Make path->idx[] and path->multi[] consistent
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Dec 2012 16:27:57 +0000 (17:27 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Jan 2013 09:34:28 +0000 (10:34 +0100)
commit95e960cece76cb538fcac03ac80893db0f1e6a15
treeef743af1271a7e8faa0ce12b17bf7c249e3db3da
parent78e635c93b0e385dc23d18c2a4047fc8857467bd
ALSA: hda/realtek - Make path->idx[] and path->multi[] consistent

So far, idx[i] and multi[i] indicate the attribute of the widget
path[i - 1].  This was just for simplifying the code in
__parse_output_path(), but this is rather confusing for later use.
It's more natural if both idx[i] and multi[i] point to the same widget
of path[i].  This patch changes to that way.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c