OSDN Git Service

pmic-voter: bump up from 8 clients to 16
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Thu, 23 Mar 2017 18:25:11 +0000 (11:25 -0700)
committerHarry Yang <harryy@codeaurora.org>
Wed, 29 Mar 2017 21:51:59 +0000 (14:51 -0700)
The current code only supports 8 clients max. There are
situations where we will need more than that.

Bump it up to 16.

Change-Id: I7a32f67b3a4579ec79eb4f0e2a971a1a3a29a7c1
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
drivers/power/supply/qcom/pmic-voter.c

index 3652cc7..b99558e 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <linux/pmic-voter.h>
 
-#define NUM_MAX_CLIENTS        8
+#define NUM_MAX_CLIENTS                16
 #define DEBUG_FORCE_CLIENT     "DEBUG_FORCE_CLIENT"
 
 static DEFINE_SPINLOCK(votable_list_slock);