ASoC: msm8998: Add codec check for SLIMBUS configuration in msm_audrx_init
Codec check is added to distinguish between Tavil and other codecs
before SLIMBUS configuration. It prevents a possible buffer overflow
in SLIMBUS configuration.
CRs-Fixed: 1104194
Change-Id: Ib4e5d8ec9212016064c719fdd1f3188b68bd8801
Signed-off-by:
Xiaoyu Ye <benyxy@codeaurora.org>
Loading
Please register or sign in to comment