commit | d5d3a7cc127d096c22ad63c4ff72970e1beb22ef | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Mon Mar 11 04:48:30 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sun Mar 24 12:42:58 2013 -0300 |
tree | c81951b2760fbaaf7be2c387665c9e8dad5ada2b | |
parent | 95ef39403f890360a3e48fe550d8e8e5d088ad74 [diff] |
[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 <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>