projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[oweals/u-boot.git]
/
drivers
/
pinctrl
/
rockchip
/
pinctrl_rk3288.c
diff --git
a/drivers/pinctrl/rockchip/pinctrl_rk3288.c
b/drivers/pinctrl/rockchip/pinctrl_rk3288.c
index 03222647cade379d62d2aea4ec73e5b343426bda..cb13d30da8e9e8769a1053a6281f4126ac10af2d 100644
(file)
--- a/
drivers/pinctrl/rockchip/pinctrl_rk3288.c
+++ b/
drivers/pinctrl/rockchip/pinctrl_rk3288.c
@@
-479,7
+479,7
@@
static int rk3288_pinctrl_get_periph_id(struct udevice *dev,
u32 cell[3];
int ret;
u32 cell[3];
int ret;
- ret = fdtdec_get_int_array(gd->fdt_blob,
periph->of_offset
,
+ ret = fdtdec_get_int_array(gd->fdt_blob,
dev_of_offset(periph)
,
"interrupts", cell, ARRAY_SIZE(cell));
if (ret < 0)
return -EINVAL;
"interrupts", cell, ARRAY_SIZE(cell));
if (ret < 0)
return -EINVAL;
@@
-644,7
+644,7
@@
static int rk3288_pinctrl_set_state(struct udevice *dev, struct udevice *config)
u32 cell[60], *ptr;
debug("%s: %s %s\n", __func__, dev->name, config->name);
u32 cell[60], *ptr;
debug("%s: %s %s\n", __func__, dev->name, config->name);
- ret = fdtdec_get_int_array_count(blob,
config->of_offset
,
+ ret = fdtdec_get_int_array_count(blob,
dev_of_offset(config)
,
"rockchip,pins", cell,
ARRAY_SIZE(cell));
if (ret < 0) {
"rockchip,pins", cell,
ARRAY_SIZE(cell));
if (ret < 0) {