From 666f8fe7e3797d2996f5db9cf7d68a3fbb1b7dea Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sat, 22 Feb 2014 20:40:45 +0100 Subject: zenmozaic: enable speaker support Change-Id: I5f90a9816e9b7ca817fcb3195b63891fda5236f5 --- firmware/export/config/creativezenmozaic.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/creativezenmozaic.h b/firmware/export/config/creativezenmozaic.h index cb60cd3cab..59012012ee 100644 --- a/firmware/export/config/creativezenmozaic.h +++ b/firmware/export/config/creativezenmozaic.h @@ -76,6 +76,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 bebc680562..67316de780 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 -#ifdef CREATIVE_ZENXFISTYLE +#if defined(CREATIVE_ZENXFISTYLE) || defined(CREATIVE_ZENMOZAIC) #define IMX233_AUDIO_SPKR_GATE_BANK 0 #define IMX233_AUDIO_SPKR_GATE_PIN 12 #endif -- cgit v1.2.3