From: Devin Heitmueller Date: Tue, 28 Apr 2009 16:14:07 +0000 (-0300) Subject: V4L/DVB (11652): au0828: fix kernel oops regression on USB disconnect. X-Git-Tag: v2.6.30-rc4~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe78a49c8ae009d33d6e2c80d4f7f2634440d523;p=pandora-kernel.git V4L/DVB (11652): au0828: fix kernel oops regression on USB disconnect. A regression was introduced in hg changeset 33810c734a0d, which resulted in a kernel panic whenever the device was disconnected from USB. The call to 4l2_device_register() was overwriting the pointer for usb_set_intfdata(), so when au0828_usb_disconnect() was called, the usb_get_intfdata() returned a pointer to the v4l2_device instead of the au0828_dev structure. Signed-off-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed