Re: [PATCH v2] microblaze: improve failure handling for GPIO reset

2012-08-24 Thread Michal Simek
On 08/22/2012 08:02 AM, Peter Crosthwaite wrote: On Thu, Aug 9, 2012 at 4:43 AM, Stephan Linz wrote: Early exit from of_platform_reset_gpio_probe() if there was no GPIO reset line configured. Avoid kernel oops in gpio_system_reset(): [ 96.603690] Restarting system. [ 96.606094] Machine re

Re: [PATCH v2] microblaze: improve failure handling for GPIO reset

2012-08-21 Thread Peter Crosthwaite
On Thu, Aug 9, 2012 at 4:43 AM, Stephan Linz wrote: > Early exit from of_platform_reset_gpio_probe() if there > was no GPIO reset line configured. > > Avoid kernel oops in gpio_system_reset(): > > [ 96.603690] Restarting system. > [ 96.606094] Machine restart... > [ 96.608810] Oops: kernel a

[PATCH v2] microblaze: improve failure handling for GPIO reset

2012-08-08 Thread Stephan Linz
Early exit from of_platform_reset_gpio_probe() if there was no GPIO reset line configured. Avoid kernel oops in gpio_system_reset(): [ 96.603690] Restarting system. [ 96.606094] Machine restart... [ 96.608810] Oops: kernel access of bad area, sig: 11 [ 96.613662] Registers dump: mode=824