audio: auge: fix hw resample crash when pcm disabled [1/1]
authorhuijie.huang <huijie.huang@amlogic.com>
Tue, 26 Feb 2019 08:00:06 +0000 (16:00 +0800)
committerHuijie Huang <huijie.huang@amlogic.com>
Tue, 26 Feb 2019 08:28:41 +0000 (00:28 -0800)
commite11ff93add787f0147c6b761543d2f00ab08d97b
treeb8e7869f624281af5df602e3c651f97e05c0e24c
parentde458631bd3d82ed4a145d162b820b43b19aedb7
audio: auge: fix hw resample crash when pcm disabled [1/1]

PD#SWPL-3365

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:
TL1 socket board

Change-Id: I9227ef2e1ca225e72b0408bc694e6a20d623c8a9
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts