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/sansa-fuzeplus/audio-fuzeplus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm/imx233/sansa-fuzeplus/audio-fuzeplus.c') diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/audio-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/audio-fuzeplus.c index abdcda90cb..57a3efd642 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/audio-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/audio-fuzeplus.c @@ -32,9 +32,9 @@ static int output_source = AUDIO_SRC_PLAYBACK; static void select_audio_path(void) { if(input_source == AUDIO_SRC_PLAYBACK) - imx233_audiout_select_hp_input(false); + imx233_audioout_select_hp_input(false); else - imx233_audiout_select_hp_input(true); + imx233_audioout_select_hp_input(true); } void audio_input_mux(int source, unsigned flags) -- cgit v1.2.3