]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
extcon: cable-xlate: Increase cable detection delay
authorMallikarjun Kasoju <mkasoju@nvidia.com>
Fri, 21 Aug 2015 13:44:35 +0000 (19:14 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 24 Aug 2015 16:31:03 +0000 (09:31 -0700)
Change-Id: I63595d9c00bc09bd826cc78db4dbb9770ad551b8
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/787473
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/extcon/extcon-cable-xlate.c

index e0ba11be581aac77af9e285c1c9b71fdf088432e..32fba9214468375635c1c9d8aa7694ad5b62c41d 100644 (file)
@@ -416,7 +416,7 @@ static int ecx_probe(struct platform_device *pdev)
        ecx->edev.name = pdata->name;
        ecx->edev.dev.parent = &pdev->dev;
        ecx->debounce_jiffies = msecs_to_jiffies(pdata->cable_insert_delay);
-       ecx->timer_to_work_jiffies = msecs_to_jiffies(100);
+       ecx->timer_to_work_jiffies = msecs_to_jiffies(500);
        ecx->detect_suspend_jiffies =
                        msecs_to_jiffies(pdata->cable_detect_suspend_delay);
        ecx->edev.supported_cable = pdata->out_cable_names;