ALSA: hda/realtek - Clean up codec renames
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 Oct 2011 14:39:09 +0000 (16:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Oct 2011 21:39:32 +0000 (23:39 +0200)
commite16fb6d1408bca0c0b36d490688eba3dc924b1fd
tree2499ce9b20eec4bac8d6a119559c8f403582d03b
parent84db9150b64ccad9c40e42a9967f1cf9592ebc8f
ALSA: hda/realtek - Clean up codec renames

Use a static table for detecting the codec renames.
Also clean up the error paths in each patch_*() function.

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