[fw]: [Familiar] h55xx headphone jack not usable

From: Erik Hovland <erik_at_hovland.org>
Date: Tue, 18 Jan 2005 12:35:04 -0800

Thought this list would be interested in this patch.

E

----- Forwarded message from Christian Werner <chw_at_ch-werner.de> -----

Date: Tue, 18 Jan 2005 21:16:24 +0100
From: Christian Werner <chw_at_ch-werner.de>
To: familiar_at_handhelds.org
Subject: [Familiar] h55xx headphone jack not usable
Reply-To: chw_at_ch-werner.de

While trying to get something out of the H55xx headphone
jack, I found a bug in the initial ak4543 register setup.
The HPR and HPL bits have to be cleared in order to
unmute the headphone amplifier (see Output Select table
on page 32 of the ak4543 manual). Following patch
remedied the problem

--- ak4535.c.orig Wed Sep 15 15:14:42 2004
+++ ak4535.c Tue Jan 18 21:02:37 2005
@@ -116,7 +116,7 @@
        { REG_PWR1, REG_PWR1_PMVCM | REG_PWR1_PMMO | REG_PWR1_PMADC | REG_PWR1_P
MMIC },
        { REG_PWR2, REG_PWR2_PMDAC | REG_PWR2_PMSPK },
        { REG_SEL1, REG_SEL1_MOUT2 | REG_SEL1_ALCS | REG_SEL1_SPPS | REG_SEL1_DA
CM | REG_SEL1_PSMO },
- { REG_SEL2, 0x83 },
+ { REG_SEL2, 0x80 },
        { REG_MODE1, REG_MODE1_DIF1 },
        { REG_MODE2, 0x1 },
        { REG_DAC, 0x1d },

Hope this is the right mailing list,

Christian
----- End forwarded message -----

-- 
Erik Hovland
mail: erik AT hovland DOT org
web: http://hovland.org/
PGP/GPG public key available on request
Received on Tue Jan 18 2005 - 15:36:15 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT