ASOC: Avoid kernel panic due to data abort

Avoid data abort due to invalid index manipulation,
when the number of channels used is lesser than
initialized to use

Change-Id: I52f825b365d49884e870047f09d3fc6cc501aa04
CRs-fixed: 362552
Signed-off-by: Kiran Kandi<kkandi@codeaurora.org>
Signed-off-by: Swaminathan Sathappan <Swami@codeaurora.org>
2 files changed