Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761297AbWLIAAR (ORCPT ); Fri, 8 Dec 2006 19:00:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758826AbWLIAAC (ORCPT ); Fri, 8 Dec 2006 19:00:02 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:37544 "EHLO sous-sol.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1947537AbWLHX7v (ORCPT ); Fri, 8 Dec 2006 18:59:51 -0500 Message-Id: <20061209000128.086305000@sous-sol.org> References: <20061208235751.890503000@sous-sol.org> User-Agent: quilt/0.45-1 Date: Fri, 08 Dec 2006 15:58:11 -0800 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , torvalds@osdl.org, akpm@osdl.org, alan@lxorguk.ukuu.org.uk, Sean Young , linux-usb-devel@lists.sourceforge.net, Greg Kroah-Hartman Subject: [patch 20/32] USB: Fix oops in PhidgetServo Content-Disposition: inline; filename=usb-fix-oops-in-phidgetservo.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1009 Lines: 33 -stable review patch. If anyone has any objections, please let us know. ------------------ From: Sean Young The PhidgetServo causes an Oops when any of its sysfs attributes are read or written too, making the driver useless. Signed-off-by: Sean Young Signed-off-by: Greg Kroah-Hartman Signed-off-by: Chris Wright --- drivers/usb/misc/phidgetservo.c | 1 + 1 file changed, 1 insertion(+) --- linux-2.6.19.orig/drivers/usb/misc/phidgetservo.c +++ linux-2.6.19/drivers/usb/misc/phidgetservo.c @@ -282,6 +282,7 @@ servo_probe(struct usb_interface *interf dev->dev = NULL; goto out; } + dev_set_drvdata(dev->dev, dev); servo_count = dev->type & SERVO_COUNT_QUAD ? 4 : 1; -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/