msm: perf: validate input argument of ev_constraints functions

Validate input argument before writing into
pmu_constraints_codes array.

CRs-Fixed: 975404
Change-Id: Id68b1d2201ab1af783af2236833b1dc894e08cc7
Signed-off-by: Kishor PK <kpbhat@codeaurora.org>
1 file changed