projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c34955
)
pinctrl: rockchip: set is_generic in pinconf_ops
author
Heiko Stübner
<heiko@sntech.de>
Sat, 19 Jul 2014 23:48:45 +0000
(
01:48
+0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 23 Jul 2014 14:37:40 +0000
(16:37 +0200)
The rockchip pinctrl driver implements the generic pinconfig, therefore
also state this, so that the default pinconf dump functions work.
Signed-off-by: Heiko Stübner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pinctrl/pinctrl-rockchip.c
b/drivers/pinctrl/pinctrl-rockchip.c
index e2e66c8ccf03446b308ba6335c103eec1223afb4..337c1844f27679b2c43d7a4fa07005561b7efecc 100644
(file)
--- a/
drivers/pinctrl/pinctrl-rockchip.c
+++ b/
drivers/pinctrl/pinctrl-rockchip.c
@@
-928,6
+928,7
@@
static int rockchip_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin,
static const struct pinconf_ops rockchip_pinconf_ops = {
.pin_config_get = rockchip_pinconf_get,
.pin_config_set = rockchip_pinconf_set,
+ .is_generic = true,
};
static const struct of_device_id rockchip_bank_match[] = {