summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Keepax2015-12-03 19:15:07 +0100
committerMark Brown2015-12-03 21:35:21 +0100
commit1f0e1eae1521e9a00f1dfbcf7c51d785ade4179c (patch)
tree90f3ac97e9fde1eff9cf77972b868cbd8af38fbc
parentASoC: arizona: Correct types of mixer texts and values (diff)
downloadkernel-qcow2-linux-1f0e1eae1521e9a00f1dfbcf7c51d785ade4179c.tar.gz
kernel-qcow2-linux-1f0e1eae1521e9a00f1dfbcf7c51d785ade4179c.tar.xz
kernel-qcow2-linux-1f0e1eae1521e9a00f1dfbcf7c51d785ade4179c.zip
ASoC: arizona: Fix type of clock rate pointer in arizona_set_sysclk
Both the sysclk and asyncclk members of arizona_priv are signed by we refer to them through an unsigned pointer. This patch fixes this small harmless error. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/arizona.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index d2731cf439c6..d90b3c51019a 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -1214,7 +1214,7 @@ int arizona_set_sysclk(struct snd_soc_codec *codec, int clk_id,
unsigned int reg;
unsigned int mask = ARIZONA_SYSCLK_FREQ_MASK | ARIZONA_SYSCLK_SRC_MASK;
unsigned int val = source << ARIZONA_SYSCLK_SRC_SHIFT;
- unsigned int *clk;
+ int *clk;
switch (clk_id) {
case ARIZONA_CLK_SYSCLK: