Commit 73a48088 authored by Jiri Prchal's avatar Jiri Prchal Committed by Mark Brown

ASoC: codecs: tlv320aic3x: move model definitions

Model definitions moved to header file.
Preparation for SPI and I2C separated files.
Signed-off-by: default avatarJiri Prchal <jiri.prchal@aksignal.cz>
Link: https://lore.kernel.org/r/20210406142439.102396-2-jiri.prchal@aksignal.czSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 34c79fe9
......@@ -82,10 +82,6 @@ struct aic3x_priv {
int master;
int gpio_reset;
int power;
#define AIC3X_MODEL_3X 0
#define AIC3X_MODEL_33 1
#define AIC3X_MODEL_3007 2
#define AIC3X_MODEL_3104 3
u16 model;
/* Selects the micbias voltage */
......
......@@ -9,6 +9,11 @@
#ifndef _AIC3X_H
#define _AIC3X_H
#define AIC3X_MODEL_3X 0
#define AIC3X_MODEL_33 1
#define AIC3X_MODEL_3007 2
#define AIC3X_MODEL_3104 3
/* AIC3X register space */
#define AIC3X_CACHEREGNUM 110
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment