diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-05 18:21:07 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 13:56:46 +0400 |
commit | 47677e51e2a4040c204d7971a5103592600185b1 (patch) | |
tree | 58196e42f5ad37ee12333a69593d444f0d1e10de /net/compat.c | |
parent | 88e4fcda55e07278fcf5f6eea684685ffc0633e2 (diff) | |
download | linux-47677e51e2a4040c204d7971a5103592600185b1.tar.xz |
[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>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions