public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Order of suspension for pcmcia based usb host controller
@ 2006-02-21 12:45 rasmit.ranjan
  2006-03-01  9:32 ` Dominik Brodowski
  0 siblings, 1 reply; 2+ messages in thread
From: rasmit.ranjan @ 2006-02-21 12:45 UTC (permalink / raw)
  To: linux-pm


[-- Attachment #1.1: Type: text/plain, Size: 1061 bytes --]

Hi all, 
 
   I have a PCMCIA card which has a usb Host Controller (HC) on it. I am
writing Host Controller Driver (HCD) for this. I have pcmcia client
driver which is registering HC as a platform device.i.e. my HCD is a
platform driver. The device representation in linux-2.6.15.4 is given
below.
 
 
/sys/class/pcmcia-socket/pcmcia-socket1/device/1.0/myhcd/usb5/5-0:1.0
 
In my pcmcia client driver i get suspend event when i do selective
suspend of the card (pcmcia-socket1/device in device tree ) .  Platform
driver`s suspend entry point is getting called when i do selective
suspend of myhcd. Now if i do global suspend will Power Management
sub-system follow the device tree to suspend the card ? Which means PM
sub-system will suspend 5-0:1.0 , then it will suspend usb5, then myhcd
and then the pcmcia-socket1/device. So does it mean that in global
suspend platform driver`s suspend entry point will be getting called
before the pcmcia client driver`s suspend event ?  
Please suggest.
 
Thanks and regards,
Rasmit Ranjan swain.

[-- Attachment #1.2: Type: text/html, Size: 2881 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Order of suspension for pcmcia based usb host controller
  2006-02-21 12:45 Order of suspension for pcmcia based usb host controller rasmit.ranjan
@ 2006-03-01  9:32 ` Dominik Brodowski
  0 siblings, 0 replies; 2+ messages in thread
From: Dominik Brodowski @ 2006-03-01  9:32 UTC (permalink / raw)
  To: rasmit.ranjan; +Cc: linux-pm

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

Hi,

On Tue, Feb 21, 2006 at 06:15:26PM +0530, rasmit.ranjan@wipro.com wrote:
> In my pcmcia client driver i get suspend event when i do selective
> suspend of the card (pcmcia-socket1/device in device tree ) .  Platform
> driver`s suspend entry point is getting called when i do selective
> suspend of myhcd. Now if i do global suspend will Power Management
> sub-system follow the device tree to suspend the card ? Which means PM
> sub-system will suspend 5-0:1.0 , then it will suspend usb5, then myhcd
> and then the pcmcia-socket1/device. So does it mean that in global
> suspend platform driver`s suspend entry point will be getting called
> before the pcmcia client driver`s suspend event ?  

AFAIK the "children" (clients) will be called first, then the "parents"
(socket driver).

	Dominik

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-01  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-21 12:45 Order of suspension for pcmcia based usb host controller rasmit.ranjan
2006-03-01  9:32 ` Dominik Brodowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox