asoc: Add check for substream ref_count before access the substream

Add check for substream ref count before access the substream.

Change-Id: Iccb6226519e8fddf624f82160a0d8d22641944db
Signed-off-by: Shashi Kant Maurya <smaury@codeaurora.org>
3 files changed
tree: 6d0f35ca0161dd1c64ceec7b4e62878b14ed9370
  1. asoc/
  2. config/
  3. dsp/
  4. include/
  5. ipc/
  6. soc/
  7. Android.mk
  8. Makefile
  9. Makefile.am
  10. NOTICE