ASoC: msm: Add support for flexible period size and count

Add support for flexible buffer size and count for audio playback
and capture paths.
Make sure the size to allocate or memory map is multiple
of 4K bytes.

Change-Id: Ie125bc8a121088233b20e1ad08d8ec35291b827f
Signed-off-by: Ravi Kumar Alamanda <ralama@codeaurora.org>
2 files changed