diff options
author | Darren Etheridge <detheridge@ti.com> | 2013-06-21 13:52:27 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-28 09:12:54 +1000 |
commit | 39de6194131c155901f96686a063212656d80c2e (patch) | |
tree | 251e3247c1c09c27bcd8401fce48aed92fdf7693 /drivers/gpu/drm/tilcdc/tilcdc_drv.h | |
parent | f7b4575601dafb3cf3c568465ec6980de6d09b94 (diff) | |
download | op-kernel-dev-39de6194131c155901f96686a063212656d80c2e.zip op-kernel-dev-39de6194131c155901f96686a063212656d80c2e.tar.gz |
drm/tilcdc fixing i2c/slave initialization race
In certain senarios drm will initialize before i2c this means that i2c
slave devices like the nxp tda998x will fail to be probed. This patch
detects this condition then defers the probe of the slave device and
the tilcdc main driver.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Acked-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_drv.h')
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.h b/drivers/gpu/drm/tilcdc/tilcdc_drv.h index 66df316..0938036 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.h +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.h @@ -117,7 +117,7 @@ struct tilcdc_module { void tilcdc_module_init(struct tilcdc_module *mod, const char *name, const struct tilcdc_module_ops *funcs); void tilcdc_module_cleanup(struct tilcdc_module *mod); - +void tilcdc_slave_probedefer(bool defered); /* Panel config that needs to be set in the crtc, but is not coming from * the mode timings. The display module is expected to call |