]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA
authorPeter Chen <peter.chen@freescale.com>
Thu, 18 Jun 2015 03:43:34 +0000 (11:43 +0800)
committerPeter Chen <peter.chen@freescale.com>
Fri, 14 Aug 2015 01:13:10 +0000 (09:13 +0800)
For i.mx platform, set ttctrl.ttha with non-zero value only affects
sitd, and ehci core makes sure the schedule is not full when accepts
new request, so it will not occur the transaction which will acorss
the SoF.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/chipidea/ci_hdrc_imx.c

index 389f0e0342596410c89b6c61b52b8907d90f9c0d..6d2a85a8bdcf18462fd225b388aa2082d1f29b15 100644 (file)
@@ -126,7 +126,8 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)
        struct ci_hdrc_platform_data pdata = {
                .name           = dev_name(&pdev->dev),
                .capoffset      = DEF_CAPOFFSET,
-               .flags          = CI_HDRC_DISABLE_STREAMING,
+               .flags          = CI_HDRC_DISABLE_STREAMING |
+                                       CI_HDRC_SET_NON_ZERO_TTHA,
        };
        int ret;
        const struct of_device_id *of_id =