Re: [PATCH] pinctrl: berlin: fix the dt_free_map function

2014-09-23 Thread Linus Walleij
On Wed, Sep 10, 2014 at 11:15 AM, Antoine Tenart wrote: > The berlin_pinctrl_dt_free_map function tries to free memory > allocated and handled by the of subsystem. This is wrong and > already handled by pinctrl_dt_free_maps() which calls > of_node_put(). > > This patch fixes the Berlin pinctrl wa

Re: [PATCH] pinctrl: berlin: fix the dt_free_map function

2014-09-11 Thread Sebastian Hesselbarth
On 09/10/2014 11:15 AM, Antoine Tenart wrote: > The berlin_pinctrl_dt_free_map function tries to free memory > allocated and handled by the of subsystem. This is wrong and > already handled by pinctrl_dt_free_maps() which calls > of_node_put(). > > This patch fixes the Berlin pinctrl way of freein

[PATCH] pinctrl: berlin: fix the dt_free_map function

2014-09-10 Thread Antoine Tenart
The berlin_pinctrl_dt_free_map function tries to free memory allocated and handled by the of subsystem. This is wrong and already handled by pinctrl_dt_free_maps() which calls of_node_put(). This patch fixes the Berlin pinctrl way of freeing its maps, avoiding a kernel BUG(), by using the common p