]> git.baikalelectronics.ru Git - kernel.git/commit
[media] siano: register media controller earlier
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 22 Feb 2015 15:29:23 +0000 (12:29 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 26 Feb 2015 12:10:39 +0000 (09:10 -0300)
commite5fa5bc2fedffcb5a67b91a6a68e285ed702f9e6
treeaec968b379c658f378a6441772bbef5a04d4571e
parent79b2dbb5adeaa1c2ca301a86066719776fd0219c
[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>
drivers/media/common/siano/smscoreapi.c
drivers/media/common/siano/smscoreapi.h
drivers/media/mmc/siano/smssdio.c
drivers/media/usb/siano/smsusb.c