Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d85e6f33 authored by Tanya Dixit's avatar Tanya Dixit
Browse files

asoc: sm6150: Add proper checks for ch_num



Check the value of ch_num and return if
less than zero to avoid out of bound access
in cdc_dma_cfg arrays.

Change-Id: Ie59f5e7ed063d65a61033a142acd2bcf2287c39b
Signed-off-by: default avatarTanya Dixit <tdixit@codeaurora.org>
parent c223ed77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment