summaryrefslogtreecommitdiff
path: root/drivers/sound/max98088.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-27 23:24:39 +0300
committerSimon Glass <sjg@chromium.org>2019-02-09 22:50:22 +0300
commitafcd64579486e1745a3cb964bfe36267d90b4c3e (patch)
treee3727fc25888dd90b2cbcc2fe2e385213e21bcdd /drivers/sound/max98088.c
parentf0b02f3dd674783b02ee18e1c841b47c294318f7 (diff)
downloadu-boot-afcd64579486e1745a3cb964bfe36267d90b4c3e.tar.xz
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/max98088.c')
-rw-r--r--drivers/sound/max98088.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/sound/max98088.c b/drivers/sound/max98088.c
index 08f0bf861e..332254d5aa 100644
--- a/drivers/sound/max98088.c
+++ b/drivers/sound/max98088.c
@@ -16,10 +16,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 "max98088.h"
@@ -288,9 +284,6 @@ static int max98088_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 = max98088_reset(priv);
if (error != 0) {