All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@linux.intel.com>
To: Jun Chen <jun.d.chen@intel.com>
Cc: Bi Chao <chao.bi@intel.com>,
	serial <linux-serial@vger.kernel.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	"russ.gorby" <russ.gorby@intel.com>
Subject: Re: [PATCH] serial: ifx6x60: Add modem power off function in the platform reboot process
Date: Thu, 22 Nov 2012 11:08:57 +0000	[thread overview]
Message-ID: <20121122110857.2f7c9804@bob.linux.org.uk> (raw)
In-Reply-To: <1353583163.23300.7.camel@chenjun-workstation>

On Thu, 22 Nov 2012 06:19:23 -0500
Jun Chen <jun.d.chen@intel.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

  reply	other threads:[~2012-11-22 11:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22 11:19 [PATCH] serial: ifx6x60: Add modem power off function in the platform reboot process Jun Chen
2012-11-22 11:08 ` Alan Cox [this message]
2012-11-23 11:14   ` Jun Chen
  -- strict thread matches above, loose matches on Subject: below --
2012-11-23 11:07 Jun Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121122110857.2f7c9804@bob.linux.org.uk \
    --to=alan@linux.intel.com \
    --cc=chao.bi@intel.com \
    --cc=jun.d.chen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=russ.gorby@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.