projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7171511
)
regulator: bcm590xx: fix vbus name
author
Graham Williams
<
[email protected]
>
Wed, 18 Jun 2014 19:42:10 +0000
(12:42 -0700)
committer
Mark Brown
<
[email protected]
>
Sun, 22 Jun 2014 11:00:14 +0000
(12:00 +0100)
The vbus regulator was not getting its name set. This results
in the sysfs entry being empty. The lack of a bcm590xx_regs[]
table entry also upsets Coverity runs. Add the table entry
so the name gets set properly.
Signed-off-by: Graham Williams <
[email protected]
>
Acked-by: Matt Porter <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/regulator/bcm590xx-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/bcm590xx-regulator.c
b/drivers/regulator/bcm590xx-regulator.c
index 57544e254a7864ea5afd8e994205726bb28b3d1b..58ece59367ae4884511ff6f085362afc7905d811 100644
(file)
--- a/
drivers/regulator/bcm590xx-regulator.c
+++ b/
drivers/regulator/bcm590xx-regulator.c
@@
-119,6
+119,10
@@
static const unsigned int ldo_c_table[] = {
2900000, 3000000, 3300000,
};
+static const unsigned int ldo_vbus[] = {
+ 5000000,
+};
+
/* DCDC group CSR: supported voltages in microvolts */
static const struct regulator_linear_range dcdc_csr_ranges[] = {
REGULATOR_LINEAR_RANGE(860000, 2, 50, 10000),
@@
-192,6
+196,7
@@
static struct bcm590xx_info bcm590xx_regs[] = {
BCM590XX_REG_TABLE(gpldo4, ldo_a_table),
BCM590XX_REG_TABLE(gpldo5, ldo_a_table),
BCM590XX_REG_TABLE(gpldo6, ldo_a_table),
+ BCM590XX_REG_TABLE(vbus, ldo_vbus),
};
struct bcm590xx_reg {