Message ID | 1394270969-11851-26-git-send-email-kishon@ti.com |
---|---|
State | Accepted |
Commit | 56042e4e975ce7b0817ebc024d02fa96ee01e107 |
Headers | show
Return-Path: <patchwork-forward+bncBCOOP4VF5IDRB5OI5OMAKGQEV3OWVEI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6572C2055F for <linaro@patches.linaro.org>; Sat, 8 Mar 2014 09:39:06 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id g12sf19980312oah.3 for <linaro@patches.linaro.org>; Sat, 08 Mar 2014 01:39:05 -0800 (PST) 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: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=NEmdv15mi6hjSRM7yGWFeof3ZliPy0i/3nHM0kIFdck=; b=YRad1G00AC8lg7PBPZ3lf3JVps1QArwe10v1Z1mynRki7DTDO73PEhh/apmBBYWMXM rRzdZ2D/OhJkRB38m5nofMlLRnUXnoLx7f1E6+bJaIrlo2etv5/bXSGMZZdO6FZbDVvT 0SdKeYxsepdbXDAG7Kc+hEXuiTwlStEObicZ5npPF0JGxV07A4MyMAmAGy3HNa/7T+oK zBO4n+wg80dskJHARyIyGZhuA26wrYvrQvPZyEHIRSX+jmZNpmLbLvBVcX0PdfNpnMdg fhfKwPF2vlYLER3sxbZCZ+mNfFYlcQiZBAju0qEf67y9wLi5v/m76FxdD7b2feT88aL7 Lxhw== X-Gm-Message-State: ALoCoQkE3neAE8IyGKK9iOSZBHFHIqwDsMlUenEjQ4/QqulFhCHNajnkG/YkvkC8xpuXGOwt7X+U X-Received: by 10.43.75.198 with SMTP id zb6mr1492965icb.22.1394271349394; Sat, 08 Mar 2014 01:35:49 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.25.33 with SMTP id 30ls1513520qgs.22.gmail; Sat, 08 Mar 2014 01:35:49 -0800 (PST) X-Received: by 10.52.242.167 with SMTP id wr7mr145728vdc.32.1394271349236; Sat, 08 Mar 2014 01:35:49 -0800 (PST) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id fx7si2927084vcb.45.2014.03.08.01.35.49 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Mar 2014 01:35:49 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id ij19so4754729vcb.38 for <patchwork-forward@linaro.org>; Sat, 08 Mar 2014 01:35:49 -0800 (PST) X-Received: by 10.52.113.1 with SMTP id iu1mr41453vdb.35.1394271349124; Sat, 08 Mar 2014 01:35:49 -0800 (PST) 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.78.9 with SMTP id i9csp173040vck; Sat, 8 Mar 2014 01:35:48 -0800 (PST) X-Received: by 10.68.136.133 with SMTP id qa5mr27616557pbb.63.1394271348086; Sat, 08 Mar 2014 01:35:48 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zj6si10851934pac.291.2014.03.08.01.35.18; Sat, 08 Mar 2014 01:35:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752663AbaCHJaf (ORCPT <rfc822;linus.walleij@linaro.org> + 26 others); Sat, 8 Mar 2014 04:30:35 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:43007 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752099AbaCHJaL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 8 Mar 2014 04:30:11 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s289UABf000618; Sat, 8 Mar 2014 03:30:10 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s289UAkA017303; Sat, 8 Mar 2014 03:30:10 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Sat, 8 Mar 2014 03:30:10 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s289TUGu006693; Sat, 8 Mar 2014 03:30:09 -0600 From: Kishon Vijay Abraham I <kishon@ti.com> To: <gregkh@linuxfoundation.org>, <kishon@ti.com>, <linux-kernel@vger.kernel.org> Subject: [PATCH 25/28] phy: ti-pipe3: Fix suspend/resume and module reload Date: Sat, 8 Mar 2014 14:59:26 +0530 Message-ID: <1394270969-11851-26-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1394270969-11851-1-git-send-email-kishon@ti.com> References: <1394270969-11851-1-git-send-email-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kishon@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: text/plain |
diff --git a/drivers/phy/phy-ti-pipe3.c b/drivers/phy/phy-ti-pipe3.c index 12cc900..5913676 100644 --- a/drivers/phy/phy-ti-pipe3.c +++ b/drivers/phy/phy-ti-pipe3.c @@ -238,6 +238,10 @@ static int ti_pipe3_exit(struct phy *x) u32 val; unsigned long timeout; + /* SATA DPLL can't be powered down due to Errata i783 */ + if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata")) + return 0; + /* Put DPLL in IDLE mode */ val = ti_pipe3_readl(phy->pll_ctrl_base, PLL_CONFIGURATION2); val |= PLL_IDLE;