From 888451fb0f3f8b8a3e6e81a087e4545eeba7a774 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 26 Nov 2008 14:25:45 +0000 Subject: Get rid of remaining audiohw_enable_output style codec setup and use pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19228 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/audio/wm8975.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'firmware/drivers/audio/wm8975.c') diff --git a/firmware/drivers/audio/wm8975.c b/firmware/drivers/audio/wm8975.c index 86e463cdff..aa519e8819 100644 --- a/firmware/drivers/audio/wm8975.c +++ b/firmware/drivers/audio/wm8975.c @@ -33,7 +33,6 @@ #include "wmcodec.h" #include "audiohw.h" -#include "i2s.h" const struct sound_settings_info audiohw_settings[] = { [SOUND_VOLUME] = {"dB", 0, 1, -74, 6, -25}, @@ -129,8 +128,6 @@ void audiohw_mute(bool mute) void audiohw_preinit(void) { - i2s_reset(); - /* POWER UP SEQUENCE */ wmcodec_write(RESET, RESET_RESET); -- cgit v1.2.3