Commit 5fa8aa79 authored by Patrick Lai's avatar Patrick Lai
Browse files

ASoC: msm: qdsp6: check for invalid port index



Function which converts port ID to port index can return
error value if port ID is invalid. Caller should not
blindly use return value without checking

Change-Id: I02b8112b6714e3364758907e7078bcbb88d45b6b
Signed-off-by: default avatarPatrick Lai <plai@codeaurora.org>
parent 7ea4328b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment