summaryrefslogtreecommitdiff
path: root/drivers/staging/media/atomisp/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-19 11:35:38 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-20 15:51:29 +0300
commit1d6e5c3040c1a2b561dddc235233ef6b176a97b8 (patch)
tree0b79c90a886a219996de74e55fe47fef146cbf2a /drivers/staging/media/atomisp/Makefile
parent95d1f398c4dc3f55e9007c89452ccc16301205fc (diff)
downloadlinux-1d6e5c3040c1a2b561dddc235233ef6b176a97b8.tar.xz
media: atomisp: change the code to properly wait for sensor
The sensor should finish its init before atomisp driver, as otherwise the atomisp driver won't be able to talk with it. So, we need to turn atomisp_gmin_platform into a module again, for it to not depend on atomisp driver to finish probing, and add some delay at atomisp to let the sensor driver to finish probing. Yeah, this is hacky. The real solution here would be to use the async framework, but for now, our goal is to make the driver to work. So, let's postpone such change to be done later. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/Makefile')
-rw-r--r--drivers/staging/media/atomisp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/Makefile b/drivers/staging/media/atomisp/Makefile
index 30b3168c4358..eedecd49bbf4 100644
--- a/drivers/staging/media/atomisp/Makefile
+++ b/drivers/staging/media/atomisp/Makefile
@@ -3,6 +3,7 @@
#
obj-$(CONFIG_INTEL_ATOMISP) += i2c/
obj-$(CONFIG_VIDEO_ATOMISP) += atomisp.o
+obj-$(CONFIG_VIDEO_ATOMISP) += pci/atomisp_gmin_platform.o
# While on staging, keep debug enabled
DEFINES += -DDEBUG
@@ -23,7 +24,6 @@ atomisp-objs += \
pci/atomisp_subdev.o \
pci/atomisp_tpg.o \
pci/atomisp_v4l2.o \
- pci/atomisp_gmin_platform.o \
pci/sh_css_firmware.o \
pci/sh_css_host_data.o \
pci/sh_css_hrt.o \