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:
Jiri Prchal 2021-04-06 16:24:36 +02:00 committed by Mark Brown
parent 34c79fe9e2
commit 73a4808892
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
2 changed files with 5 additions and 4 deletions

View File

@ -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 */

View File

@ -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