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

Commit 0f7a7d49 authored by Umang Agrawal's avatar Umang Agrawal Committed by Guru Das Srinagesh
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 c8c0829e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2015-2017 The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2017, 2019 The Linux Foundation. All rights reserved.
 */

#include <linux/debugfs.h>
@@ -13,7 +13,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);