lkml.org 
[lkml]   [2014]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectCheck if usb device is suspended
From
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


\
 
 \ /
  Last update: 2014-03-13 13:21    [W:0.066 / U:1.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site