[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1476441.ovA4GKBza3@linux-lqwf.site>
Date: Thu, 26 Jul 2012 12:44:24 +0200
From: Oliver Neukum <oneukum@...e.de>
To: Aaron Lu <aaron.lu@....com>
Cc: James Bottomley <James.Bottomley@...senpartnership.com>,
Alan Stern <stern@...land.harvard.edu>,
Jeff Garzik <jgarzik@...ox.com>, Lin Ming <minggr@...il.com>,
Jeff Wu <jeff.wu@....com>, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, linux-scsi@...r.kernel.org,
linux-ide@...r.kernel.org, Aaron Lu <aaron.lwe@...il.com>
Subject: Re: [PATCH v3 2/7] scsi: pm: use autosuspend if device supports it
On Thursday 26 July 2012 18:05:24 Aaron Lu wrote:
> If the device is using autosuspend, when scsi_autopm_put_device is
> called for it, use autosuspend runtime pm calls instead of the sync
> call.
What is the purpose of this approach?
You need a very good reason to have an API do two different things
based on this.
Regards
Oliver
--
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