git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a23fa
)
pinmux: forbid mux_usecount to be set at UINT_MAX
author
Richard Genoud
<richard.genoud@gmail.com>
Thu, 21 Mar 2013 11:21:47 +0000
(12:21 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 21 Mar 2013 18:26:18 +0000
(19:26 +0100)
If pin_free is called on a pin already freed, mux_usecount is set to
UINT_MAX which is really a bad idea.
This will issue a warning, so that we can correct the code responsible
for the double free.
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
No differences found