Re: [PATCH] serial: ifx6x60: Add modem power off function in theplatform reboot process

From: Alan Cox
Date: Thu Nov 22 2012 - 13:31:40 EST


On Thu, 22 Nov 2012 06:19:23 -0500
Jun Chen <jun.d.chen@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/