From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [RFC 3/3] libata: don't perform HW activity in devres Date: Thu, 25 Oct 2012 10:43:31 -0700 Message-ID: <20121025174331.GK11442@htj.dyndns.org> References: <1351184161-31433-1-git-send-email-computersforpeace@gmail.com> <1351184161-31433-4-git-send-email-computersforpeace@gmail.com> <20121025172542.GG11442@htj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pa0-f46.google.com ([209.85.220.46]:51270 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757050Ab2JYRnf (ORCPT ); Thu, 25 Oct 2012 13:43:35 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Brian Norris Cc: Jeff Garzik , linux-ide@vger.kernel.org, linux-pm@lists.linux-foundation.org, Linux Kernel , Kevin Cernekee Hello, On Thu, Oct 25, 2012 at 10:41:57AM -0700, Brian Norris wrote: > Hmm, I guess that makes more sense. I was using the ahci_platform > ahci_platform_data->exit() function. Would it be safe to call the > platform init()/exit() functions as part of a > ata_port_operations.host_{start,stop}() hook? These functions aren't > currently implemented at all in ahci_platform, but I don't see why > they couldn't be. I don't have much idea about the specifics but host_start/stop() are supposed to perform the functions you're describing. Thanks. -- tejun