[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOAoqGt_Y_weA2FjA8x-NrZS7zj+=Zw-TH5Xv+QUQDJQixmdsw@mail.gmail.com>
Date: Thu, 13 Mar 2014 17:13:34 +0530
From: Jagdish Gedia <jvgediya@...il.com>
To: "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Check if usb device is suspended
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
--
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