summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-02-19 16:35:47 +0000
committerMark Brown <broonie@kernel.org>2017-02-19 16:35:47 +0000
commit715d525b413cde6e86caf0a744287d7b71395d1e (patch)
treec9f1ee401bcf55741d8565af6f5f98e809b75581 /sound/soc
parent16b5711485b0eba250451b3a85ab869939f20c7d (diff)
parentfc25914631d623880b5fc3abf067bcb3e8c6b4d4 (diff)
downloadlinux-715d525b413cde6e86caf0a744287d7b71395d1e.tar.bz2
Merge remote-tracking branch 'asoc/topic/pcm3168a' into asoc-next
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/pcm3168a.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/pcm3168a.c b/sound/soc/codecs/pcm3168a.c
index 39bc02d5bc5d..b9d1207ccef2 100644
--- a/sound/soc/codecs/pcm3168a.c
+++ b/sound/soc/codecs/pcm3168a.c
@@ -402,10 +402,8 @@ static int pcm3168a_hw_params(struct snd_pcm_substream *substream,
u32 val, mask, shift, reg;
unsigned int rate, fmt, ratio, max_ratio;
int i, min_frame_size;
- snd_pcm_format_t format;
rate = params_rate(params);
- format = params_format(params);
ratio = pcm3168a->sysclk / rate;