From: Antti Palosaari Date: Sun, 10 Jun 2012 00:11:28 +0000 (-0300) Subject: [media] dvb_usb_v2: do not free resources until delayed init is done X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~655 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3238aafbc3f860d685fc96b5b93a2f14decaec2e;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed