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

Skip to content
Commit 2b088298 authored by Rishabh Jain's avatar Rishabh Jain
Browse files

msm: camera: cpas: Avoid array underflow during client registration



CPAS driver maintains an array of clients and accordingly takes the
lock on them. While registering the client if the client name is not
present in the existing clients' list, CPAS driver should avoid the
registration and throw error.
This change introduces the same and hence avoiding array underflow.

Change-Id: I537b99b0b1e76afa60834f546dfc2e622b203dac
Signed-off-by: default avatarRishabh Jain <risjai@codeaurora.org>
parent 45290a83
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