summaryrefslogtreecommitdiff
path: root/drivers/media/mmc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-22 15:29:23 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-26 12:10:39 (GMT)
commit4b208f8b561ffa5f3b7f6887bf8dc3038c67eee9 (patch)
treeaec968b379c658f378a6441772bbef5a04d4571e /drivers/media/mmc
parentfb372a434d47f636bc8277e7e91e0f2855a14263 (diff)
downloadlinux-4b208f8b561ffa5f3b7f6887bf8dc3038c67eee9.tar.xz
[media] siano: register media controller earlier
We need to initialize the media controller earlier, as the core will call the smsdvb hotplug during register time. Ok, this is an async operation, so, when the module is not loaded, the media controller works. However, if the module is already loaded, nothing will be registered at the media controller, as it will load too late. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/mmc')
-rw-r--r--drivers/media/mmc/siano/smssdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/mmc/siano/smssdio.c b/drivers/media/mmc/siano/smssdio.c
index b30b0c6..fee2d71 100644
--- a/drivers/media/mmc/siano/smssdio.c
+++ b/drivers/media/mmc/siano/smssdio.c
@@ -279,7 +279,7 @@ static int smssdio_probe(struct sdio_func *func,
goto free;
}
- ret = smscore_register_device(&params, &smsdev->coredev);
+ ret = smscore_register_device(&params, &smsdev->coredev, NULL);
if (ret < 0)
goto free;