Skip to contentSkip to conversation

ALSA: hda - cut and paste typo in cs420x_models[]

PATCH In review Dan Carpenter 2 participants 2 messages Nov 24, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda - cut and paste typo in cs420x_models[]

The CS420X_IMAC27 was copied from the line before but CS420X_APPLE was clearly intented.

sound/pci/hda/patch_cirrus.c +1 -1
index 7bd2a52..70a7abd 100644
@@ -1278,7 +1278,7 @@ static const char * const cs420x_models[CS420X_MODELS] = {
 	[CS420X_MBP53] = "mbp53",
 	[CS420X_MBP55] = "mbp55",
 	[CS420X_IMAC27] = "imac27",
-	[CS420X_IMAC27] = "apple",
+	[CS420X_APPLE] = "apple",
 	[CS420X_AUTO] = "auto",
 };
 
#1 lore raw

At Thu, 24 Nov 2011 14:48:24 +0300,

Quoted 5 lines · Dan Carpenter

The CS420X_IMAC27 was copied from the line before but CS420X_APPLE was clearly intented.

Applied now. Thanks!

Takashi

Quoted 15 lines
sound/pci/hda/patch_cirrus.c +1 -1
index 7bd2a52..70a7abd 100644
@@ -1278,7 +1278,7 @@ static const char * const cs420x_models[CS420X_MODELS] = {
 	[CS420X_MBP53] = "mbp53",
 	[CS420X_MBP55] = "mbp55",
 	[CS420X_IMAC27] = "imac27",
-	[CS420X_IMAC27] = "apple",
+	[CS420X_APPLE] = "apple",
 	[CS420X_AUTO] = "auto",
 };