Commit 03efce75 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Fix disordered enum definitions in patch_cirrus.c

Due to the definitions of CS420X_IMAC27_122 and CS420X_APPLE as
aliases, the rest enums are set to duplicated values unexpectedly.
Move the alias definitions at the end so that the enum values are
defined in the proper order.
Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ef596a57
...@@ -83,11 +83,12 @@ enum { ...@@ -83,11 +83,12 @@ enum {
CS420X_IMAC27, CS420X_IMAC27,
CS420X_GPIO_13, CS420X_GPIO_13,
CS420X_GPIO_23, CS420X_GPIO_23,
CS420X_IMAC27_122 = CS420X_GPIO_23,
CS420X_APPLE = CS420X_GPIO_13,
CS420X_MBP101, CS420X_MBP101,
CS420X_MBP101_COEF, CS420X_MBP101_COEF,
CS420X_AUTO, CS420X_AUTO,
/* aliases */
CS420X_IMAC27_122 = CS420X_GPIO_23,
CS420X_APPLE = CS420X_GPIO_13,
}; };
/* CS421x boards */ /* CS421x boards */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment