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
Revert "Revert "pcm: add support for pcm_ioctl() api""

 * At least one thing still wants this.

This reverts commit 0faa063518b2e15e4447fc6b932a8a6925e3c8b4.

Change-Id: I656940cb0bd6dd1f354f6a104a2d89c9922340a0