[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121122110857.2f7c9804@bob.linux.org.uk>
Date: Thu, 22 Nov 2012 11:08:57 +0000
From: Alan Cox <alan@...ux.intel.com>
To: Jun Chen <jun.d.chen@...el.com>
Cc: Bi Chao <chao.bi@...el.com>, serial <linux-serial@...r.kernel.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
"russ.gorby" <russ.gorby@...el.com>
Subject: Re: [PATCH] serial: ifx6x60: Add modem power off function in the
platform reboot process
On Thu, 22 Nov 2012 06:19:23 -0500
Jun Chen <jun.d.chen@...el.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists