tinyplay: Fix pop issue at the end of playback.

Pop issue is observed at the end of playback for certain contents.
Wave file format data description header contains actual size
of sound data included in the data section. Use this data size
information for processing actual raw bytes, which avoids reading
extra bytes and avoids pop issue.

Change-Id: I71b881ec7d7b5e1fc688d54061751e6f4527bcc5
CRs-fixed: 613569
audio: pcm error type propagation

- On pcm driver error,error type is not propgating
  from tinyalsa

- Modified oops API to return exact error no

Change-Id: I60ae81445e865201c2425ab600b4abeaab6b560c
Revert "pcm: add support for pcm_ioctl() api"

This reverts commit c1b682efcd3b3eac3101408231b58ea92c668756

Change-Id: I3536e282b4dd016a78bb9dbaaac45a3330f44284