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

Commit e9aed408 authored by Umang Agrawal's avatar Umang Agrawal Committed by Ashay Jaiswal
Browse files

power: pmic-voter: Increase maximum client capacity



Currently, a pmic voter supports a maximum number of 16 clients.
However, this is not sufficient for some voters which have more
than 16 clients. Hence, increase the maximum client capacity of
a voter to 32.

Change-Id: If9776fc6646c868fa3a8cd1520963c7f51aa1e16
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent a0772087
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2015-2017 The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2017, 2019 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -20,7 +20,7 @@

#include <linux/pmic-voter.h>

#define NUM_MAX_CLIENTS		16
#define NUM_MAX_CLIENTS		32
#define DEBUG_FORCE_CLIENT	"DEBUG_FORCE_CLIENT"

static DEFINE_SPINLOCK(votable_list_slock);