From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: System suspend states and device driver suspend() callback Date: Fri, 16 Aug 2013 13:32:32 +0200 Message-ID: <17024788.0xFN8jEV59@vostro.rjw.lan> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Li Yang Cc: linux-pm@vger.kernel.org, lkml List-Id: linux-pm@vger.kernel.org On Friday, August 16, 2013 04:06:26 PM Li Yang wrote: > Hi Guys, >=20 > Is there a standard way for the device drivers to know if the system > is going to =E2=80=9Cstandby=E2=80=9D mode or =E2=80=9Cmem=E2=80=9D m= ode when the suspend() callbacks > are called? No, there's none. What do you need that for? Rafael