commit | 47677e51e2a4040c204d7971a5103592600185b1 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | Wed Mar 05 11:21:07 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Tue Mar 11 06:56:46 2014 -0300 |
tree | 58196e42f5ad37ee12333a69593d444f0d1e10de | |
parent | 88e4fcda55e07278fcf5f6eea684685ffc0633e2 [diff] |
[media] em28xx: Only deallocate struct em28xx after finishing all extensions We can't free struct em28xx while one of the extensions is still using it. So, add a kref() to control it, freeing it only after the extensions fini calls. Reviewed-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>