Audio: refine t5d ad [1/1]

PD#SWPL-152471

Problem:
there's array bound when read ad data, cause crash.

Solution:
refine ad read function (sync from android).

Verify:
yocto.

Change-Id: I23d229357e72020bbfbc488a6ba27c5e8e8d348c
Signed-off-by: wei.wang1 <wei.wang1@amlogic.com>
7 files changed