Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758952Ab2KWDL3 (ORCPT ); Thu, 22 Nov 2012 22:11:29 -0500 Received: from mga14.intel.com ([143.182.124.37]:9644 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758923Ab2KWDL0 (ORCPT ); Thu, 22 Nov 2012 22:11:26 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.83,304,1352102400"; d="scan'208";a="221267659" Subject: Re: [PATCH] serial: ifx6x60: Add modem power off function in the platform reboot process From: Jun Chen To: Alan Cox Cc: Bi Chao , serial , Linux Kernel , "russ.gorby" In-Reply-To: <20121122110857.2f7c9804@bob.linux.org.uk> References: <1353583163.23300.7.camel@chenjun-workstation> <20121122110857.2f7c9804@bob.linux.org.uk> Content-Type: text/plain; charset="UTF-8" Date: Fri, 23 Nov 2012 06:14:14 -0500 Message-ID: <1353669254.23300.16.camel@chenjun-workstation> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 21 On Thu, 2012-11-22 at 11:08 +0000, Alan Cox wrote: > On Thu, 22 Nov 2012 06:19:23 -0500 > Jun Chen 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 Yes,thanks! I will update this patch again. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/