forked from enlightenment/enlightenment
ddc - add small delay after modprobe to allow module to init in bg...
This commit is contained in:
parent
1cfd1f4242
commit
ee59cec585
|
@ -299,6 +299,8 @@ _ddc_init(void)
|
||||||
// brute force modprobe this as it likely is needed - probe will fail
|
// brute force modprobe this as it likely is needed - probe will fail
|
||||||
// if this doesn't work or find devices anyway
|
// if this doesn't work or find devices anyway
|
||||||
system("modprobe i2c-dev");
|
system("modprobe i2c-dev");
|
||||||
|
usleep(200 * 1000); // and wait for the module to come up... 200ms
|
||||||
|
|
||||||
if (!_ddc_probe()) return EINA_FALSE;
|
if (!_ddc_probe()) return EINA_FALSE;
|
||||||
|
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
|
|
Loading…
Reference in New Issue