Re: [PATCH] tty: serial: 8250: omap: fix kernel crash in suspend-to-ram

2015-07-24 Thread Sekhar Nori
Hi Greg, On Friday 24 July 2015 03:55 AM, Greg Kroah-Hartman wrote: On Thu, Jun 25, 2015 at 03:45:04PM +0530, Sekhar Nori wrote: omap_device infrastructure has a suspend_noirq hook which runtime suspends all devices late in the suspend cycle (see _od_suspend_noirq() in

Re: [PATCH] tty: serial: 8250: omap: fix kernel crash in suspend-to-ram

2015-07-23 Thread Greg Kroah-Hartman
On Thu, Jun 25, 2015 at 03:45:04PM +0530, Sekhar Nori wrote: omap_device infrastructure has a suspend_noirq hook which runtime suspends all devices late in the suspend cycle (see _od_suspend_noirq() in arch/arm/mach-omap2/omap_device.c) This leads to a NULL pointer exception in 8250_omap

[PATCH] tty: serial: 8250: omap: fix kernel crash in suspend-to-ram

2015-06-25 Thread Sekhar Nori
omap_device infrastructure has a suspend_noirq hook which runtime suspends all devices late in the suspend cycle (see _od_suspend_noirq() in arch/arm/mach-omap2/omap_device.c) This leads to a NULL pointer exception in 8250_omap driver since by the time omap8250_runtime_suspend() is called,