summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tscs42xx.h
diff options
context:
space:
mode:
authorSteven Eckhoff <steven.eckhoff.opensource@gmail.com>2018-04-04 23:49:52 +0200
committerMark Brown <broonie@kernel.org>2018-04-16 12:53:47 +0200
commitaa0f18d762215163af12797b74baf014577668c2 (patch)
tree96c3868838daa32f239c806ce3823c0a5e76c69e /sound/soc/codecs/tscs42xx.h
parentASoC: TSCS42xx: Cleanup private data members (diff)
downloadlinux-aa0f18d762215163af12797b74baf014577668c2.tar.xz
linux-aa0f18d762215163af12797b74baf014577668c2.zip
ASoC: TSCS42xx: Add CCF support to get sysclk
The TSCS42xx relies on set_sysclk to get a unique clock id and rate, which prevents it from being used with the simple-card. Remove set_sysclk callback Add CCF support to get clock id and rate Add clocks and clock-names to device tree binding Signed-off-by: Steven Eckhoff <steven.eckhoff.opensource@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tscs42xx.h')
-rw-r--r--sound/soc/codecs/tscs42xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tscs42xx.h b/sound/soc/codecs/tscs42xx.h
index d4a30bcbf64b..814c8f3c4a68 100644
--- a/sound/soc/codecs/tscs42xx.h
+++ b/sound/soc/codecs/tscs42xx.h
@@ -7,10 +7,10 @@
#define __WOOKIE_H__
enum {
- TSCS42XX_PLL_SRC_NONE,
TSCS42XX_PLL_SRC_XTAL,
TSCS42XX_PLL_SRC_MCLK1,
TSCS42XX_PLL_SRC_MCLK2,
+ TSCS42XX_PLL_SRC_CNT,
};
#define R_HPVOLL 0x0