From patchwork Thu Feb 17 12:38:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 569931 X-Patchwork-Delegate: me@felipebalbi.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1HCd6DE019540 for ; Thu, 17 Feb 2011 12:39:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756219Ab1BQMjU (ORCPT ); Thu, 17 Feb 2011 07:39:20 -0500 Received: from na3sys009aog117.obsmtp.com ([74.125.149.242]:50446 "EHLO na3sys009aog117.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756197Ab1BQMjS (ORCPT ); Thu, 17 Feb 2011 07:39:18 -0500 Received: from source ([209.85.214.43]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKTV0W9bq2Olxu/Ew7o/yx+W+DaN5WnvcC@postini.com; Thu, 17 Feb 2011 04:39:17 PST Received: by mail-bw0-f43.google.com with SMTP id 14so2601094bwz.16 for ; Thu, 17 Feb 2011 04:39:17 -0800 (PST) Received: by 10.204.14.204 with SMTP id h12mr1629131bka.183.1297946356823; Thu, 17 Feb 2011 04:39:16 -0800 (PST) Received: from localhost (cs181221087.pp.htv.fi [82.181.221.87]) by mx.google.com with ESMTPS id 12sm613887bki.19.2011.02.17.04.39.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Feb 2011 04:39:16 -0800 (PST) From: Felipe Balbi To: Greg KH Cc: Linux USB Mailing List , Linux OMAP Mailing List , Hema HK , Tony Lindgren , Paul Walmsley , Felipe Balbi Subject: [patch-v2.6.39 07/12] usb: otg: OMAP4430: Add phy_suspend function pointer to twl4030_usb_data Date: Thu, 17 Feb 2011 14:38:44 +0200 Message-Id: <1297946329-9353-8-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.4.rc2 In-Reply-To: <1297946329-9353-1-git-send-email-balbi@ti.com> References: <1297946329-9353-1-git-send-email-balbi@ti.com> Organization: Texas Instruments\n Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 17 Feb 2011 12:39:29 +0000 (UTC) diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 61b9609..a4bd05b 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h @@ -600,6 +600,8 @@ struct twl4030_usb_data { int (*phy_power)(struct device *dev, int iD, int on); /* enable/disable phy clocks */ int (*phy_set_clock)(struct device *dev, int on); + /* suspend/resume of phy */ + int (*phy_suspend)(struct device *dev, int suspend); }; struct twl4030_ins {