Skip to content

Commit

Permalink
ASoC: stac9766: Move register defines to main source file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Nov 4, 2016
1 parent 2bea8f9 commit dccb395
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
6 changes: 4 additions & 2 deletions sound/soc/codecs/stac9766.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
12 changes: 0 additions & 12 deletions sound/soc/codecs/stac9766.h

This file was deleted.

1 change: 0 additions & 1 deletion sound/soc/fsl/efika-audio-fabric.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include "mpc5200_dma.h"
#include "mpc5200_psc_ac97.h"
#include "../codecs/stac9766.h"

#define DRV_NAME "efika-audio-fabric"

Expand Down

0 comments on commit dccb395

Please sign in to comment.