projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'rproc-v4.8' of git://github.com/andersson/remoteproc
[deliverable/linux.git]
/
drivers
/
regulator
/
helpers.c
diff --git
a/drivers/regulator/helpers.c
b/drivers/regulator/helpers.c
index b1e32e7482e92256c01541b1cdca95e05ebd097a..bcf38fd5106a2324ccd83dace8d9a8e25a46d789 100644
(file)
--- a/
drivers/regulator/helpers.c
+++ b/
drivers/regulator/helpers.c
@@
-460,7
+460,7
@@
int regulator_get_bypass_regmap(struct regulator_dev *rdev, bool *enable)
if (ret != 0)
return ret;
- *enable =
val & rdev->desc->bypass_mask
;
+ *enable =
(val & rdev->desc->bypass_mask) == rdev->desc->bypass_val_on
;
return 0;
}
This page took
0.03567 seconds
and
5
git commands to generate.