asoc: add limit checks for copp index

Check the validity of copp index before calling
adm_close. This avoids redundant error logs in
adm_close.

CRs-Fixed: 2330388
Change-Id: I0b1cef5a45298fe9cbc84d9b944f6f10cec562df
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
1 file changed
tree: 4ca71566dcb5a27ccffc2ced9711237903c00c4e
  1. asoc/
  2. config/
  3. dsp/
  4. include/
  5. ipc/
  6. soc/
  7. Android.mk
  8. Makefile
  9. Makefile.am
  10. NOTICE