Revert "camera: Fix the heap corruption issue"

This reverts commit 611526fd34bbe92f702eea0ff5bdd0e4f1f14904. Doesn't fix, breaks non-QCOMs :)

Change-Id: Icb1417f4120cab921f7cf879a215fc7ea66112a6
audio: Supress redundant effect config events in short duration

Distortion sound persists for the whole song when re-enabling effect in
LPA playback mode till switch to next song. And pop noise is quite obvious
when enable/disable effects in LPA.

As the design of LPA, EffectsThreadEntry() loop is used to handle effect
config changes through applying effects with new config on dsp pcm buffers.
However, it can't handle too many config change events in a short time,
and effect with new configuration will be applied on part of dsp buffers.

Filter out redundant effect config events that come too closely to avoid
applying effect on dsp buffer in vain.

Change-Id: If8915b1d068724d5976e1519ec57e3c08cf89c9d
CRs-Fixed: 562806, 563418
Merge pull request #9 from CyanogenMod/cm-10.2

CM last commits