Skip to content

Commit

Permalink
Merge remote-tracking branches 'asoc/topic/tlv320aic3x', 'asoc/topic/…
Browse files Browse the repository at this point in the history
…topology', 'asoc/topic/wm0010', 'asoc/topic/wm8731' and 'asoc/topic/wm8741' into asoc-next
  • Loading branch information
broonie committed Feb 19, 2017
6 parents 166729f + 03303da + fd34045 + 98856d5 + dfa5def + c9b0bdc commit ebfa3dc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
6 changes: 6 additions & 0 deletions sound/soc/codecs/tlv320aic3x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1393,6 +1393,12 @@ static int aic3x_set_power(struct snd_soc_codec *codec, int power)
snd_soc_write(codec, AIC3X_PLL_PROGC_REG, pll_c);
snd_soc_write(codec, AIC3X_PLL_PROGD_REG, pll_d);
}

/*
* Delay is needed to reduce pop-noise after syncing back the
* registers
*/
mdelay(50);
} else {
/*
* Do soft reset to this codec instance in order to clear
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm0010.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <linux/firmware.h>
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/gpio.h>
#include <linux/regulator/consumer.h>
#include <linux/mutex.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8731.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

#define WM8731_CACHEREGNUM 10

#define WM8731_SYSCLK_MCLK 0
#define WM8731_SYSCLK_XTAL 1
#define WM8731_SYSCLK_MCLK 2

#define WM8731_DAI 0

Expand Down
2 changes: 0 additions & 2 deletions sound/soc/codecs/wm8741.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ static const char *wm8741_supply_names[WM8741_NUM_SUPPLIES] = {
"DVDD",
};

#define WM8741_NUM_RATES 6

/* codec private data */
struct wm8741_priv {
struct wm8741_platform_data pdata;
Expand Down
4 changes: 2 additions & 2 deletions sound/soc/soc-topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -1871,7 +1871,7 @@ static int soc_tplg_pcm_elems_load(struct soc_tplg *tplg,
{
struct snd_soc_tplg_pcm *pcm, *_pcm;
int count = hdr->count;
int i, err;
int i;
bool abi_match;

if (tplg->pass != SOC_TPLG_PASS_PCM_DAI)
Expand Down Expand Up @@ -1905,7 +1905,7 @@ static int soc_tplg_pcm_elems_load(struct soc_tplg *tplg,
_pcm = pcm;
} else {
abi_match = false;
err = pcm_new_ver(tplg, pcm, &_pcm);
pcm_new_ver(tplg, pcm, &_pcm);
}

/* create the FE DAIs and DAI links */
Expand Down

0 comments on commit ebfa3dc

Please sign in to comment.