Skip to contentSkip to conversation

remove unnecessary power management primitive in stk-webcam

PATCH New Oliver Neukum 1 participant 1 message Aug 19, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove unnecessary power management primitive in stk-webcam

This patch removes an unneeded power management primitive. Power management is automatically enabled as probe ends.

Hi,

please accept this patch for the next merge window, as this patch changes no functionality and removes a primitive that won't be supported in the new generic framework.

Regards
Oliver

--

commit eeada72856087eb90e8649692b75e5b875ba051d

Author: Oliver Neukum <[email protected]>
Date:   Wed Aug 19 20:31:56 2009 +0200

usb: remove unneeded power management primitive

drivers/media/video/stk-webcam.c +0 -1
index b154bd9..0b996ea 100644
@@ -1400,7 +1400,6 @@ static int stk_camera_probe(struct usb_interface *interface,
 	}
 
 	stk_create_sysfs_files(&dev->vdev);
-	usb_autopm_enable(dev->interface);
 
 	return 0;