From 2a71c0853304b68835fcf87d2bae8295d64abd6c Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 9 Mar 2014 01:25:51 +0100 Subject: [PATCH] zenxfi: enable speaker Change-Id: I603112d2a348abf92d5c8975ea76d3a57fda7cfc --- firmware/export/config/creativezenxfi.h | 3 +++ firmware/target/arm/imx233/creative-zen/audio-target.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/export/config/creativezenxfi.h b/firmware/export/config/creativezenxfi.h index ac8bbdb841..d70a452312 100644 --- a/firmware/export/config/creativezenxfi.h +++ b/firmware/export/config/creativezenxfi.h @@ -80,6 +80,9 @@ /* define this if you have an i.MX23 codec */ #define HAVE_IMX233_CODEC +/* Define this if you have a speaker */ +#define HAVE_SPEAKER + #define CONFIG_TUNER TEA5760 /* There is no hardware tone control */ diff --git a/firmware/target/arm/imx233/creative-zen/audio-target.h b/firmware/target/arm/imx233/creative-zen/audio-target.h index 67316de780..38e0dea0af 100644 --- a/firmware/target/arm/imx233/creative-zen/audio-target.h +++ b/firmware/target/arm/imx233/creative-zen/audio-target.h @@ -23,7 +23,7 @@ #define IMX233_AUDIO_COUPLING_MODE ACM_CAPLESS -#if defined(CREATIVE_ZENXFISTYLE) || defined(CREATIVE_ZENMOZAIC) +#if defined(CREATIVE_ZENXFISTYLE) || defined(CREATIVE_ZENMOZAIC) || defined(CREATIVE_ZENXFI) #define IMX233_AUDIO_SPKR_GATE_BANK 0 #define IMX233_AUDIO_SPKR_GATE_PIN 12 #endif