diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2016-11-04 20:26:55 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-04 20:43:05 +0300 |
commit | dccb395c268e9f96dfaf3f3bb9933aa9a0ded8cc (patch) | |
tree | aeb33acf0194a545022734dabf4dee5ea0843631 /sound/soc/codecs/stac9766.c | |
parent | 2bea8f97d4c3aded4c71d72e8702aa7dbe9894cf (diff) | |
download | linux-dccb395c268e9f96dfaf3f3bb9933aa9a0ded8cc.tar.xz |
ASoC: stac9766: Move register defines to main source file
The stac9766 driver has a header file that defines 3 register locations.
Move these to the main source file since it is not really worth it having a
separate file for them. The header file is now empty and can be removed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/stac9766.c')
-rw-r--r-- | sound/soc/codecs/stac9766.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c index e54e4a4ce296..f675d343b529 100644 --- a/sound/soc/codecs/stac9766.c +++ b/sound/soc/codecs/stac9766.c @@ -26,11 +26,13 @@ #include <sound/soc.h> #include <sound/tlv.h> -#include "stac9766.h" - #define STAC9766_VENDOR_ID 0x83847666 #define STAC9766_VENDOR_ID_MASK 0xffffffff +#define AC97_STAC_DA_CONTROL 0x6A +#define AC97_STAC_ANALOG_SPECIAL 0x6E +#define AC97_STAC_STEREO_MIC 0x78 + /* * STAC9766 register cache */ |