audio/msm8660: Ensure to check mvs fd value before voip read

-Voip read returns error continuously and sometimes increases
CPU usage blocking other processes.
-No check if mvs fd is valid or not before calling read and due
to this, it returns error whenever read is performed on an invalid
fd.
-Check for fd value before calling read and open mvs device and
configure it if fd is invalid.

CRs-Fixed: 472106
Change-Id: I70277a2de095a4f190d885fdeabe68040dbc4e12
1 file changed
tree: fe7fe8ffcc24729399dedbdf971eb53f7cef325e
  1. alsa_sound/
  2. audiod/
  3. libalsa-intf/
  4. mm-audio/
  5. msm7x30/
  6. msm8660/
  7. Android.mk