aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/tlv320aic3x.c6
-rw-r--r--sound/soc/codecs/wm0010.c1
-rw-r--r--sound/soc/codecs/wm8731.h2
-rw-r--r--sound/soc/codecs/wm8741.c2
-rw-r--r--sound/soc/soc-topology.c4
5 files changed, 9 insertions, 6 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index bb94d50052d7..29bf8c81ae02 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -1393,6 +1393,12 @@ static int aic3x_set_power(struct snd_soc_codec *codec, int power)
1393 snd_soc_write(codec, AIC3X_PLL_PROGC_REG, pll_c); 1393 snd_soc_write(codec, AIC3X_PLL_PROGC_REG, pll_c);
1394 snd_soc_write(codec, AIC3X_PLL_PROGD_REG, pll_d); 1394 snd_soc_write(codec, AIC3X_PLL_PROGD_REG, pll_d);
1395 } 1395 }
1396
1397 /*
1398 * Delay is needed to reduce pop-noise after syncing back the
1399 * registers
1400 */
1401 mdelay(50);
1396 } else { 1402 } else {
1397 /* 1403 /*
1398 * Do soft reset to this codec instance in order to clear 1404 * Do soft reset to this codec instance in order to clear
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index 0eb5dcf4c29d..4f5f5710b569 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -21,7 +21,6 @@
21#include <linux/firmware.h> 21#include <linux/firmware.h>
22#include <linux/delay.h> 22#include <linux/delay.h>
23#include <linux/fs.h> 23#include <linux/fs.h>
24#include <linux/miscdevice.h>
25#include <linux/gpio.h> 24#include <linux/gpio.h>
26#include <linux/regulator/consumer.h> 25#include <linux/regulator/consumer.h>
27#include <linux/mutex.h> 26#include <linux/mutex.h>
diff --git a/sound/soc/codecs/wm8731.h b/sound/soc/codecs/wm8731.h
index e9c0c76ab73b..c7c6f15b0e42 100644
--- a/sound/soc/codecs/wm8731.h
+++ b/sound/soc/codecs/wm8731.h
@@ -31,8 +31,8 @@
31 31
32#define WM8731_CACHEREGNUM 10 32#define WM8731_CACHEREGNUM 10
33 33
34#define WM8731_SYSCLK_MCLK 0
34#define WM8731_SYSCLK_XTAL 1 35#define WM8731_SYSCLK_XTAL 1
35#define WM8731_SYSCLK_MCLK 2
36 36
37#define WM8731_DAI 0 37#define WM8731_DAI 0
38 38
diff --git a/sound/soc/codecs/wm8741.c b/sound/soc/codecs/wm8741.c
index 565d477cd790..b8c1940f2243 100644
--- a/sound/soc/codecs/wm8741.c
+++ b/sound/soc/codecs/wm8741.c
@@ -37,8 +37,6 @@ static const char *wm8741_supply_names[WM8741_NUM_SUPPLIES] = {
37 "DVDD", 37 "DVDD",
38}; 38};
39 39
40#define WM8741_NUM_RATES 6
41
42/* codec private data */ 40/* codec private data */
43struct wm8741_priv { 41struct wm8741_priv {
44 struct wm8741_platform_data pdata; 42 struct wm8741_platform_data pdata;
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index 8419edb9d8f9..aff3d8129ac9 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -1871,7 +1871,7 @@ static int soc_tplg_pcm_elems_load(struct soc_tplg *tplg,
1871{ 1871{
1872 struct snd_soc_tplg_pcm *pcm, *_pcm; 1872 struct snd_soc_tplg_pcm *pcm, *_pcm;
1873 int count = hdr->count; 1873 int count = hdr->count;
1874 int i, err; 1874 int i;
1875 bool abi_match; 1875 bool abi_match;
1876 1876
1877 if (tplg->pass != SOC_TPLG_PASS_PCM_DAI) 1877 if (tplg->pass != SOC_TPLG_PASS_PCM_DAI)
@@ -1905,7 +1905,7 @@ static int soc_tplg_pcm_elems_load(struct soc_tplg *tplg,
1905 _pcm = pcm; 1905 _pcm = pcm;
1906 } else { 1906 } else {
1907 abi_match = false; 1907 abi_match = false;
1908 err = pcm_new_ver(tplg, pcm, &_pcm); 1908 pcm_new_ver(tplg, pcm, &_pcm);
1909 } 1909 }
1910 1910
1911 /* create the FE DAIs and DAI links */ 1911 /* create the FE DAIs and DAI links */