aboutsummaryrefslogtreecommitdiff
path: root/drivers/sound/max98090.c
diff options
context:
space:
mode:
authorSimon Glass2018-12-27 13:24:39 -0700
committerSimon Glass2019-02-09 12:50:22 -0700
commitafcd64579486e1745a3cb964bfe36267d90b4c3e (patch)
treee3727fc25888dd90b2cbcc2fe2e385213e21bcdd /drivers/sound/max98090.c
parentf0b02f3dd674783b02ee18e1c841b47c294318f7 (diff)
sound: Allow audio codecs to be used by other SoCs
At present there is still some samsung-specific code in the audio codecs. Remove it so that these can be used by other SoCs. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/sound/max98090.c')
-rw-r--r--drivers/sound/max98090.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/sound/max98090.c b/drivers/sound/max98090.c
index 346ff5ffbec..5505c351666 100644
--- a/drivers/sound/max98090.c
+++ b/drivers/sound/max98090.c
@@ -13,10 +13,6 @@
#include <i2s.h>
#include <sound.h>
#include <asm/gpio.h>
-#include <asm/io.h>
-#include <asm/arch/clk.h>
-#include <asm/arch/cpu.h>
-#include <asm/arch/power.h>
#include "maxim_codec.h"
#include "max98090.h"
@@ -240,9 +236,6 @@ int max98090_device_init(struct maxim_priv *priv)
unsigned char id;
int error = 0;
- /* Enable codec clock */
- set_xclkout();
-
/* reset the codec, the DSP core, and disable all interrupts */
error = max98090_reset(priv);
if (error != 0) {