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/tsc2100.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'firmware/drivers/audio/tsc2100.c') diff --git a/firmware/drivers/audio/tsc2100.c b/firmware/drivers/audio/tsc2100.c index 038f3ed178..e0e2c53e69 100644 --- a/firmware/drivers/audio/tsc2100.c +++ b/firmware/drivers/audio/tsc2100.c @@ -90,16 +90,7 @@ void audiohw_init(void) void audiohw_postinit(void) { -} - -/* Silently enable / disable audio output */ -void audiohw_enable_output(bool enable) -{ - if (enable) { - audiohw_mute(0); - } else { - audiohw_mute(1); - } + audiohw_mute(0); } void audiohw_set_master_vol(int vol_l, int vol_r) -- cgit v1.2.3