From patchwork Wed Feb 29 12:41:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sangwook X-Patchwork-Id: 7001 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 26B2D23E48 for ; Wed, 29 Feb 2012 12:43:34 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id E3F1DA18124 for ; Wed, 29 Feb 2012 12:43:33 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so3199906iag.11 for ; Wed, 29 Feb 2012 04:43:33 -0800 (PST) Received: from mr.google.com ([10.50.95.230]) by 10.50.95.230 with SMTP id dn6mr6261883igb.0.1330519413773 (num_hops = 1); Wed, 29 Feb 2012 04:43:33 -0800 (PST) Received: by 10.50.95.230 with SMTP id dn6mr5120664igb.0.1330519413679; Wed, 29 Feb 2012 04:43:33 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp2179ibg; Wed, 29 Feb 2012 04:43:33 -0800 (PST) Received: by 10.180.84.170 with SMTP id a10mr13613363wiz.9.1330519411955; Wed, 29 Feb 2012 04:43:31 -0800 (PST) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id y34si16922614weq.105.2012.02.29.04.43.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 29 Feb 2012 04:43:31 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of sangwook.lee@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of sangwook.lee@linaro.org) smtp.mail=sangwook.lee@linaro.org Received: by mail-wi0-f178.google.com with SMTP id hm14so5647705wib.37 for ; Wed, 29 Feb 2012 04:43:31 -0800 (PST) Received-SPF: pass (google.com: domain of sangwook.lee@linaro.org designates 10.180.86.230 as permitted sender) client-ip=10.180.86.230; Received: from mr.google.com ([10.180.86.230]) by 10.180.86.230 with SMTP id s6mr17088363wiz.16.1330519411545 (num_hops = 1); Wed, 29 Feb 2012 04:43:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.86.230 with SMTP id s6mr13622626wiz.16.1330519411430; Wed, 29 Feb 2012 04:43:31 -0800 (PST) Received: from localhost.localdomain (host109-145-96-242.range109-145.btcentralplus.com. [109.145.96.242]) by mx.google.com with ESMTPS id bg3sm35014523wib.10.2012.02.29.04.43.29 (version=SSLv3 cipher=OTHER); Wed, 29 Feb 2012 04:43:30 -0800 (PST) From: Sangwook Lee To: linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: ben-linux@fluff.org, gregkh@suse.de, kgene.kim@samsung.com, stern@rowland.harvard.edu, jg1.han@samsung.com, jy0922.shim@samsung.com, patches@linaro.org, linaro-dev@lists.linaro.org, linux@arm.linux.org.uk, Sangwook Lee Subject: [PATCH 2/2] USB: ehci-s5p: add function for burst Date: Wed, 29 Feb 2012 12:41:23 +0000 Message-Id: <1330519283-4722-3-git-send-email-sangwook.lee@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1330519283-4722-1-git-send-email-sangwook.lee@linaro.org> References: <1330519283-4722-1-git-send-email-sangwook.lee@linaro.org> X-Gm-Message-State: ALoCoQnFYyl/9PSYUcHPwfp7m3Zefd4Feb8NPyMoz+if6X8KA2hjFmDFwsCKViTT+OiNVk71aAaZ Add platform specific function for EHCI burst function Signed-off-by: Sangwook Lee --- drivers/usb/host/ehci-s5p.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index 293f741..c5eb0ce 100644 --- a/drivers/usb/host/ehci-s5p.c +++ b/drivers/usb/host/ehci-s5p.c @@ -134,6 +134,9 @@ static int __devinit s5p_ehci_probe(struct platform_device *pdev) /* cache this readonly data; minimize chip reads */ ehci->hcs_params = readl(&ehci->caps->hcs_params); + if (pdata->burst_enable) + pdata->burst_enable(pdev, hcd->regs); + ehci_reset(ehci); err = usb_add_hcd(hcd, irq, IRQF_SHARED);