VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Dan Carpenter <dan.carpenter@oracle.com> 2021-01-06 11:36:35 +0300 committer: Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2021-01-07 18:13:51 +0100 commit: 2185c23071e2c1f26fbccb323aa831732540cfcc parent: 8f50db4b5c79af2ba54f5fbe8a5173fd7f37a493
Commit Summary:
powercap/drivers/dtpm: Fix a double shift bug
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/powercap/dtpm.c b/drivers/powercap/dtpm.c
index 0abcc439d728..d49df0569cd4 100644
--- a/drivers/powercap/dtpm.c
+++ b/drivers/powercap/dtpm.c
@@ -24,7 +24,7 @@
 #include <linux/slab.h>
 #include <linux/mutex.h>
 
-#define DTPM_POWER_LIMIT_FLAG BIT(0)
+#define DTPM_POWER_LIMIT_FLAG 0
 
 static const char *constraint_name[] = {
 	"Instantaneous",