ASoC: msm: Send a write done for the last buffer

The write done event corresponding to the last compressed buffer
is not notified to the userspace. This event is required to handle
EOS for compressed audio playback. Send a write done for the last
buffer.

Change-Id: I337024cf97537fff5997f89e222a6d19a1e58e55
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Makefile: adding config variable for Os/O2/O3 compilation

Conflicts:

	init/Kconfig

Conflicts:

	init/Kconfig
htc_battery_core.c: Fix HTC's coding error
GCC Version Check Fix
sweep2wake: Import sweep2wake v2.0 from showp1984 and others

Thanks to their awesome work! Includes many new features and bugfixes

Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>

Conflicts:

	arch/arm/configs/rohan_elite_defconfig
sweep2wake: Fix Kconfig copy/paste error
Kconfig: reset to CM
Kconfig: add sweep2wake options
Makefile(s): Add more cflags for moar butter