summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-mpc52xx.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-05 11:21:07 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 06:56:46 -0300
commit47677e51e2a4040c204d7971a5103592600185b1 (patch)
tree58196e42f5ad37ee12333a69593d444f0d1e10de /drivers/spi/spi-mpc52xx.c
parent88e4fcda55e07278fcf5f6eea684685ffc0633e2 (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>
Diffstat (limited to 'drivers/spi/spi-mpc52xx.c')
0 files changed, 0 insertions, 0 deletions