From 1a083cdaccb3598de834c3643c5bc02716af804d Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Fri, 3 Feb 2012 19:58:25 +0100 Subject: imx233/fuze+: fix a typo, handle volume differently because of the line1/dac mode difference. The headphone volume register value reads differently in Line1 and DAC mode. Since the volume is not set again when switching between playback and radio, we need to remember the hp volume and reapply setting when changing the mode. Change-Id: I8fbd344f78653c19d81a39dd3f680ec6885cb1ec --- firmware/target/arm/imx233/audioout-imx233.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'firmware/target/arm/imx233/audioout-imx233.h') diff --git a/firmware/target/arm/imx233/audioout-imx233.h b/firmware/target/arm/imx233/audioout-imx233.h index cd997e7d31..acfb56138f 100644 --- a/firmware/target/arm/imx233/audioout-imx233.h +++ b/firmware/target/arm/imx233/audioout-imx233.h @@ -112,11 +112,10 @@ void imx233_audioout_preinit(void); void imx233_audioout_postinit(void); void imx233_audioout_close(void); /* volume in half dB */ -void imx233_audioout_set_dac_vol(int vol_l, int vol_r); void imx233_audioout_set_hp_vol(int vol_l, int vol_r); /* frequency index, NOT the frequency itself */ void imx233_audioout_set_freq(int fsel); /* select between DAC and Line1 */ -void imx233_audiout_select_hp_input(bool line1); +void imx233_audioout_select_hp_input(bool line1); #endif /* __audioout_imx233__ */ -- cgit v1.2.3