drivers:video:fbdev atmel_lcdfb.c power GPIO registration bug
authorMichael Welling <mwelling@ieee.org>
Thu, 19 Jun 2014 01:52:12 +0000 (20:52 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 23 Jun 2014 11:45:49 +0000 (14:45 +0300)
commit4bc8cad5e14cdd19e557e07888260a993933b94d
tree755a764d94e8f83126e7daa52edc2528f0357ad2
parenta497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee
drivers:video:fbdev atmel_lcdfb.c power GPIO registration bug

A list that was intended for storing power control GPIOs was never
initialized correctly or filled. Without these lines of added code
the kernel hangs when trying to access an uninitialized list when a
power control GPIO is registered with the device tree.

Signed-off-by: Michael Welling <mwelling@ieee.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/atmel_lcdfb.c