]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: pxa: pxa2xx: add pin control skeleton
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 12 Dec 2015 21:43:05 +0000 (22:43 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Dec 2015 13:07:06 +0000 (14:07 +0100)
commit988f129b7dcbd923c099e1a558e6e6f48c92eb3f
tree49da3135a383858cd55c8fc04b6f4d951f76af92
parent099fc85f7c3122de78ff332fd6e99977de231edc
pinctrl: pxa: pxa2xx: add pin control skeleton

The wrong free functions were used to release temporary buffers.

This didn't show up in the normal driver's life. Yet in suspend to RAM,
the managed resource list is walked, and as memory was released, the
list is corrupted and make the kernel Oops.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pxa/pinctrl-pxa2xx.c