asoc: msm: Add flexible period count to pcm record driver, without test

patch from samsung d2 kernel source: https://github.com/CyanogenMod/android_kernel_samsung_d2/commit/2207494ded955608536b362bb258417be9b3f4f9