projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37e4901
)
pinctrl: fix mutex deadlock in get_pinctrl_dev_from_of_node()
author
Daniel Mack
<zonque@gmail.com>
Fri, 26 Apr 2013 16:57:02 +0000
(18:57 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 30 Apr 2013 11:02:04 +0000
(13:02 +0200)
This obvious bug was introduced by
d755910b7
("pinctrl: move subsystem
mutex to pinctrl_dev struct").
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pinctrl/core.c
b/drivers/pinctrl/core.c
index c3d222ed39a2585a388425f39259723f2a25bd83..5327f35d9b5cd6d12147faf7fd93556157c1c6f4 100644
(file)
--- a/
drivers/pinctrl/core.c
+++ b/
drivers/pinctrl/core.c
@@
-129,7
+129,7
@@
struct pinctrl_dev *get_pinctrl_dev_from_of_node(struct device_node *np)
return pctldev;
}
- mutex_lock(&pinctrldev_list_mutex);
+ mutex_
un
lock(&pinctrldev_list_mutex);
return NULL;
}