summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2013-12-12 12:36:46 (GMT)
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-13 16:41:44 (GMT)
commitb2a06aecb24329e16edc3108b8192d65ace8da75 (patch)
tree114ac342659d1e9fb598cb55bc93d158369b735b /crypto
parent85de721c46ba8ad9b283b2b3e307c9a3e8425042 (diff)
downloadlinux-b2a06aecb24329e16edc3108b8192d65ace8da75.tar.xz
[media] v4l: Only get module if it's different than the driver for v4l2_dev
When the sub-device is registered, increment the use count of the sub-device owner only if it's different from the owner of the driver for the media device. This avoids increasing the use count by the module itself and thus making it possible to unload it when it's not in use. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions