Re: [PATCH] serial: ifx6x60: Add modem power off function in the platform reboot process
From: Alan Cox <hidden>
Date: 2012-11-22 18:31:53
Also in:
lkml
From: Alan Cox <hidden>
Date: 2012-11-22 18:31:53
Also in:
lkml
On Thu, 22 Nov 2012 06:19:23 -0500 Jun Chen [off-list ref] wrote:
This patch add modem power off function in the reboot process according registering reboot callback to the reboot_notifier_list. Also realizing the spi shutdown function.
Need to unregister the reboot notifier in the ifx_spi_exit path. If the driver module is unloaded you leave the callback present and the kernel will call into freed memory. Alan