From: Tobias Lorenz Date: Tue, 22 Apr 2008 17:46:11 +0000 (-0300) Subject: V4L/DVB (7401): radio-si470x: unplugging fixed X-Git-Tag: v2.6.26-rc1~1084^2~278 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03dea86de2243d5b3932604b799be26efeff010d;p=pandora-kernel.git V4L/DVB (7401): radio-si470x: unplugging fixed This patch fixes several kernel oops, when unplugging device while it is in use: Basically the patch delays freeing of the internal variables in si470x_usb_driver_disconnect, until the the last user closed the device in si470x_fops_release. This was implemented a while ago with the help of Oliver Neukum. I tested the patch five times (unplugging while in use) without oops coming from the radio-si470x driver anymore. A remaining oops was coming from the usbaudio driver, but this is someone else task. Hopefully this fixed all unplugging issues. Signed-off-by: Tobias Lorenz Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed