From: Hans Verkuil Date: Mon, 11 Mar 2013 07:48:30 +0000 (-0300) Subject: [media] go7007: fix unregister/disconnect handling X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~267 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5d3a7cc127d096c22ad63c4ff72970e1beb22ef;p=pandora-kernel.git [media] go7007: fix unregister/disconnect handling - use the v4l2_device's release() callback - remove the unnecessary ref_count - don't free usb data structures on disconnect, only do that in the final release callback. This is the correct way in order to safely handle disconnect and removal of modules. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed