imx233: fix speaker enable/disable code

Change-Id: I6540f2f8ba09bc79b80d71e5f3b0adebd9fce727
This commit is contained in:
Amaury Pouly 2017-01-14 01:01:11 +01:00
parent 637c7414a9
commit fd2629422c

View file

@ -269,7 +269,7 @@ void imx233_audioout_enable_spkr(bool en)
static bool spkr_en = false;
if(en == spkr_en)
return;
spkr_en = true;
spkr_en = en;
#if IMX233_SUBTARGET >= 3780
if(en)
{