commit | 3238aafbc3f860d685fc96b5b93a2f14decaec2e | [log] [tgz] |
---|---|---|
author | Antti Palosaari <crope@iki.fi> | Sat Jun 09 21:11:28 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Aug 04 07:56:28 2012 -0300 |
tree | 8734065abf0f63e26252e0880419b48c6a7236bf | |
parent | 36a5c2bdedcba50435e1e9a9c62a99797783b2c4 [diff] |
[media] dvb_usb_v2: do not free resources until delayed init is done It was possible to free resources by unloading module while initialization was still ongoing on delayed work. Use PID to make decision on .disconnect() if caller is our work or some other as work also calls .disconnect() in error case. There could be better solution still... Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>