Re: [PATCH 8/8] pinctrl: freescale: imx: fix system crash if enable two pinctl instances

2015-08-18 Thread Uwe Kleine-König
Hello, On Tue, Aug 18, 2015 at 10:48:59AM -0500, Adrian Alonso wrote: > From: Robin Gong > > Remove 'static' for 'grp_index', otherwise, it cause the groups whose number > is > smaller than the number of groups of the last pinctl instance never to be > intialized, thus cause system crash as bel

Re: [PATCH 8/8] pinctrl: freescale: imx: fix system crash if enable two pinctl instances

2015-08-18 Thread Markus Pargmann
On Tue, Aug 18, 2015 at 10:48:59AM -0500, Adrian Alonso wrote: > From: Robin Gong > > Remove 'static' for 'grp_index', otherwise, it cause the groups whose number > is > smaller than the number of groups of the last pinctl instance never to be > intialized, thus cause system crash as below grp_

[PATCH 8/8] pinctrl: freescale: imx: fix system crash if enable two pinctl instances

2015-08-18 Thread Adrian Alonso
From: Robin Gong Remove 'static' for 'grp_index', otherwise, it cause the groups whose number is smaller than the number of groups of the last pinctl instance never to be intialized, thus cause system crash as below [0.661012] [<802a6cb0>] (strcmp) from [<802cc80c>] (imx_dt_node_to_map+0x58