Skip to contentSkip to conversation

Applied "ASoC: stac9766: Move register defines to main source file" to the asoc tree

PATCH Mark Brown 1 participant 1 message Nov 4, 2016

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

The patch

ASoC: stac9766: Move register defines to main source file

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From dccb395c268e9f96dfaf3f3bb9933aa9a0ded8cc Mon Sep 17 00:00:00 2001

From: Lars-Peter Clausen <[email protected]>
Date: Fri, 4 Nov 2016 18:26:55 +0100
Subject: [PATCH] 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.

---
 sound/soc/codecs/stac9766.c        |  6 ++++--
 sound/soc/codecs/stac9766.h        | 12 ------------
 sound/soc/fsl/efika-audio-fabric.c |  1 -
 3 files changed, 4 insertions(+), 15 deletions(-)
 delete mode 100644 sound/soc/codecs/stac9766.h
sound/soc/codecs/stac9766.c +4 -2
index e54e4a4ce296..f675d343b529 100644
@@ -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
  */
sound/soc/codecs/stac9766.h deleted +0 -12
deleted file mode 100644
index e35cee82f416..000000000000
@@ -1,12 +0,0 @@
-/*
- * stac9766.h  --  STAC9766 Soc Audio driver
- */
-
-#ifndef _STAC9766_H
-#define _STAC9766_H
-
-#define AC97_STAC_DA_CONTROL 0x6A
-#define AC97_STAC_ANALOG_SPECIAL 0x6E
-#define AC97_STAC_STEREO_MIC 0x78
-
-#endif
sound/soc/fsl/efika-audio-fabric.c +0 -1
index b2acd3293ea8..f200d1cfc4bd 100644
@@ -27,7 +27,6 @@
 
 #include "mpc5200_dma.h"
 #include "mpc5200_psc_ac97.h"
-#include "../codecs/stac9766.h"
 
 #define DRV_NAME "efika-audio-fabric"
 
Signature · 1 line
2.10.1