Hi Mauro, This patch got accidentally dropped from my patchset which contained another patch it required: commit b2a06aecb24329e16edc3108b8192d65ace8da75 Author: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> Date: Thu Dec 12 09:36:46 2013 -0300 [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@xxxxxxxxxxxxxxx> Acked-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> Signed-off-by: Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx> Thanks to Laurent for spotting this. Please pull. The following changes since commit 27dcb00d0dc1d532b0da940e35a6d020ee33bd47: [media] radio-miropcm20: fix sparse NULL pointer warning (2014-07-30 19:50:09 -0300) are available in the git repository at: ssh://linuxtv.org/git/sailus/media_tree.git smiapp-subdev-owner for you to fetch changes up to 7ac057ec6296b80529075c47fa5eb304e96344df: smiapp: Set sub-device owner (2014-08-01 16:47:15 +0300) ---------------------------------------------------------------- Sakari Ailus (1): smiapp: Set sub-device owner drivers/media/i2c/smiapp/smiapp-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Kind regards, Sakari Ailus e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html