audio: fixed kernel panic when resample is disabled [1/1]
authorZhe Wang <Zhe.Wang@amlogic.com>
Fri, 12 Apr 2019 02:51:00 +0000 (10:51 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 12 Apr 2019 03:34:19 +0000 (20:34 -0700)
commit758b24b3ce340d677fd66db97a20ef0e146d09e7
tree86fce4fe8caf4fcb295da61ade935847d7d11d32
parent1f8aa33a791044b787efacd4d1a98c5952a0e427
audio: fixed kernel panic when resample is disabled [1/1]

PD#SWPL-7039

Problem:
Kernel Panic when resample A is disabled

Solution:
When resample is disabled,don't init resample

Verify:
Verified on T962e2_ab311

Change-Id: Id9552ffc6be40f133b828dbded4ad3f15d177ab0
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
sound/soc/amlogic/auge/extn.c
sound/soc/amlogic/auge/resample.c
sound/soc/amlogic/auge/resample.h