mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Check if usb device is suspended
@ 2014-03-13 11:43 Jagdish Gedia
  2014-03-13 13:05 ` Oliver Neukum
  2014-03-13 14:20 ` Alan Stern
  0 siblings, 2 replies; 5+ messages in thread
From: Jagdish Gedia @ 2014-03-13 11:43 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-kernel

Hi,
I want to check in my driver if usb device is suspended or not?
currently i am doing it like

if(udev->state==USB_STATE_SUSPENDED)

Is this the proper way? Is this enough?










Thanks,
Jagdish Gediya

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

end of thread, other threads:[~2014-03-21 13:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-13 11:43 Check if usb device is suspended Jagdish Gedia
2014-03-13 13:05 ` Oliver Neukum
2014-03-13 14:20 ` Alan Stern
2014-03-21 11:47   ` Jagdish Gedia
2014-03-21 13:22     ` Oliver Neukum

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

all inboxes | Powered by JetHome®