[PATCH] USB :core :Prevent USB devices to autosuspend while setting interface

2017-11-10 Thread Abhijeet
From: abhijeet kumar Runtime resume USB device in order to ensure that PM framework knows that the we might be using the device in a short time and doesn't autosuspend the device while we updating it's interface. Signed-off-by: abhijeet kumar --- drivers/usb/core/message.c | 3 +

[PATCH] USB :core :Prevent USB devices to autosuspend while setting interface

2017-11-10 Thread Abhijeet
From: Abhijeet Kumar Runtime resume USB device in order to ensure that PM framework knows that the we might be using the device in a short time and doesn't autosuspend the device while we update it's interface. Without this change, if device autosuspends and the kernel polling for blo