audio: auge: fix hw resample crash when pcm disabled [1/1]
authorXing Wang <xing.wang@amlogic.com>
Mon, 18 Feb 2019 03:08:23 +0000 (11:08 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 18 Feb 2019 10:44:03 +0000 (02:44 -0800)
commita6d45f23056ace863fbd668f974d167ab06df389
treee03cf29b879949a3030f7de59073f2e5ce311122
parent25ce8c0a7617d375ea93add84f358f99ae5847ff
audio: auge: fix hw resample crash when pcm disabled [1/1]

PD#SWPL-4387

Problem:
system would reboot when carshed by hw resample

Solution:
actrl of toddr is modified to null pointer, so it leads to crash.
fix to pass toddr pointer to function, not fetched by resample module.

Verify:
x301

Change-Id: I91c30260ee825d843e8ed17304031382b42ac119
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
sound/soc/amlogic/auge/ddr_mngr.c