ASoC: codecs: tlv320aic3x: move model definitions
Model definitions moved to header file. Preparation for SPI and I2C separated files. Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz> Link: https://lore.kernel.org/r/20210406142439.102396-2-jiri.prchal@aksignal.cz Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
34c79fe9e2
Коммит
73a4808892
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче