From patchwork Wed Apr 30 16:38:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 29438 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A989F203F3 for ; Wed, 30 Apr 2014 16:39:10 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id wp4sf10172231obc.0 for ; Wed, 30 Apr 2014 09:39:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=2Y8aFkAdY3ALS/caUFlb0OwzqqjjIKXQhUkUPl23ocg=; b=KPjiiLQhpUnwn3p+fuPQe+f950+f6z66X/TtbSdWvFnlCX4KHnhNbmRgVD4SpTbPjZ hi4ERngG7up01L89SVr455aXQMQLQGUbbfBENF9SEgI6pypjLgkWR3GMqJe3GUqWNgYg GkYycQlHY6hcbKTi6/LlqJ6wCyVQr7CLGp76mCAbvEB5eMYgTS3SeoBxuN0WbA1RncM+ Rc71tyBchN8gSC07FNsA2gnaaWqp8k/CSzDyTbqyBsoCSH60WVQk/8Z5tzFH8MWByZy1 eYuJtpN/XVNyZw7iPiLGUBa6cwPcLmAhGVY5gq6W0rgXPMf+nxQ76wnWUw9a8UbJ5SJd LAeQ== X-Gm-Message-State: ALoCoQmVWx3KMHBqvqJLJnu1/yCoiPGmEzyoE4Zf5OxcdNUYP9Se0v4FBH1kud8CZyo1Ww2XKpR6 X-Received: by 10.43.92.68 with SMTP id bp4mr2698550icc.26.1398875949821; Wed, 30 Apr 2014 09:39:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.131 with SMTP id d3ls674433qge.52.gmail; Wed, 30 Apr 2014 09:39:09 -0700 (PDT) X-Received: by 10.52.251.199 with SMTP id zm7mr3812801vdc.21.1398875949611; Wed, 30 Apr 2014 09:39:09 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id cb3si5426921vdc.113.2014.04.30.09.39.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 09:39:09 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so2451110veb.20 for ; Wed, 30 Apr 2014 09:39:09 -0700 (PDT) X-Received: by 10.220.69.72 with SMTP id y8mr4482381vci.21.1398875949458; Wed, 30 Apr 2014 09:39:09 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp293796vcb; Wed, 30 Apr 2014 09:39:09 -0700 (PDT) X-Received: by 10.42.44.4 with SMTP id z4mr5302460ice.34.1398875948912; Wed, 30 Apr 2014 09:39:08 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si4351122igf.48.2014.04.30.09.39.07; Wed, 30 Apr 2014 09:39:07 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945959AbaD3Qiw (ORCPT + 3 others); Wed, 30 Apr 2014 12:38:52 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:37551 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1945955AbaD3Qiu (ORCPT ); Wed, 30 Apr 2014 12:38:50 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3UGcjY3002289; Wed, 30 Apr 2014 11:38:45 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3UGcjjS007350; Wed, 30 Apr 2014 11:38:45 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Wed, 30 Apr 2014 11:38:45 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3UGci3Z018119; Wed, 30 Apr 2014 11:38:45 -0500 From: Felipe Balbi To: CC: , , Linux USB Mailing List , Felipe Balbi Subject: [PATCH 2/3] usb: phy: msm: switch over to writel() Date: Wed, 30 Apr 2014 11:38:35 -0500 Message-ID: <1398875916-14461-2-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.0.rc1 In-Reply-To: <1398875916-14461-1-git-send-email-balbi@ti.com> References: <1398875916-14461-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Remove that single instance of writel_relaxed() call which is only available on ARM architecture. This will let us build test this driver on all different architectures. Signed-off-by: Felipe Balbi Reviewed-by: Ivan T. Ivanov --- drivers/usb/phy/phy-msm-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c index c9963c8..13b59ad 100644 --- a/drivers/usb/phy/phy-msm-usb.c +++ b/drivers/usb/phy/phy-msm-usb.c @@ -1600,7 +1600,7 @@ static int msm_otg_probe(struct platform_device *pdev) if (IS_ERR(phy_select)) return PTR_ERR(phy_select); /* Enable second PHY with the OTG port */ - writel_relaxed(0x1, phy_select); + writel(0x1, phy_select); } dev_info(&pdev->dev, "OTG regs = %p\n", motg->regs);