Browse Source

Merge branch 'for-2.6.37' into for-2.6.38

Conflicts:
	include/linux/mfd/wm8994/pdata.h
Mark Brown 14 years ago
parent
commit
0afc8c733e
3 changed files with 4 additions and 2 deletions
  1. 1 1
      include/linux/mfd/wm8994/pdata.h
  2. 1 1
      sound/soc/codecs/wm_hubs.c
  3. 2 0
      sound/soc/soc-core.c

+ 1 - 1
include/linux/mfd/wm8994/pdata.h

@@ -29,7 +29,7 @@ struct wm8994_ldo_pdata {
 #define WM8994_CONFIGURE_GPIO 0x8000
 #define WM8994_CONFIGURE_GPIO 0x8000
 
 
 #define WM8994_DRC_REGS 5
 #define WM8994_DRC_REGS 5
-#define WM8994_EQ_REGS  19
+#define WM8994_EQ_REGS  20
 #define WM8958_MBC_CUTOFF_REGS 20
 #define WM8958_MBC_CUTOFF_REGS 20
 #define WM8958_MBC_COEFF_REGS  48
 #define WM8958_MBC_COEFF_REGS  48
 
 

+ 1 - 1
sound/soc/codecs/wm_hubs.c

@@ -323,7 +323,7 @@ SOC_DOUBLE_R("Speaker Switch",
 SOC_DOUBLE_R("Speaker ZC Switch",
 SOC_DOUBLE_R("Speaker ZC Switch",
 	     WM8993_SPEAKER_VOLUME_LEFT, WM8993_SPEAKER_VOLUME_RIGHT,
 	     WM8993_SPEAKER_VOLUME_LEFT, WM8993_SPEAKER_VOLUME_RIGHT,
 	     7, 1, 0),
 	     7, 1, 0),
-SOC_DOUBLE_TLV("Speaker Boost Volume", WM8993_SPKOUT_BOOST, 0, 3, 7, 0,
+SOC_DOUBLE_TLV("Speaker Boost Volume", WM8993_SPKOUT_BOOST, 3, 0, 7, 0,
 	       spkboost_tlv),
 	       spkboost_tlv),
 SOC_ENUM("Speaker Reference", speaker_ref),
 SOC_ENUM("Speaker Reference", speaker_ref),
 SOC_ENUM("Speaker Mode", speaker_mode),
 SOC_ENUM("Speaker Mode", speaker_mode),

+ 2 - 0
sound/soc/soc-core.c

@@ -3361,7 +3361,9 @@ int snd_soc_register_dais(struct device *dev,
 		pr_debug("Registered DAI '%s'\n", dai->name);
 		pr_debug("Registered DAI '%s'\n", dai->name);
 	}
 	}
 
 
+	mutex_lock(&client_mutex);
 	snd_soc_instantiate_cards();
 	snd_soc_instantiate_cards();
+	mutex_unlock(&client_mutex);
 	return 0;
 	return 0;
 
 
 err:
 err: