summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602/m5602_po1030.h
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-18 19:52:31 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-11-18 19:52:31 +0100
commitffa812c1a2fa46e3b894155e598c0e6e0d51b2f1 (patch)
tree2a2e73ff75bf2889a677c10ba2f65f532206ddef /linux/drivers/media/video/gspca/m5602/m5602_po1030.h
parent7830a441c0d4f9753dea8a72466091346ded739b (diff)
downloadmediapointer-dvb-s2-ffa812c1a2fa46e3b894155e598c0e6e0d51b2f1.tar.gz
mediapointer-dvb-s2-ffa812c1a2fa46e3b894155e598c0e6e0d51b2f1.tar.bz2
gspca: Lock the subdrivers via module_get/put.
From: Jean-Francois Moine <moinejf@free.fr> The previous subdriver protection against rmmod was done via the file operations table in the device descriptor. On device disconnection while streaming, the device structure was freed at close time, and the module_put still used the module name in the freed area. Now, explicit module get/put are done on open and close. Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_po1030.h')
0 files changed, 0 insertions, 0 deletions