From: "Fu, Zhonghui" <zhonghui.fu-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org
Cc: Mika Westerberg
<mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
christian.ruppert-Yycd8EPnGM5BDgjK7y7TUQ@public.gmane.org,
atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org,
jszhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org,
raymond.tan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
Romain.Baeriswyl-ux6zf3SgZrrQT0dZR+AlfA@public.gmane.org,
carlpeng008-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
david.e.box-VuQAYsv1563Yd54FQh9/CA@public.gmane.org,
Alexey.Brodkin-HKixBCOQz3hWk0Htik3J/w@public.gmane.org,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] i2c/designware: enable i2c controller to suspend/resume asynchronously
Date: Mon, 24 Aug 2015 23:23:42 +0800 [thread overview]
Message-ID: <55DB36FE.10204@linux.intel.com> (raw)
In-Reply-To: <55D20D79.3090308-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Hi,
Any comments are welcome.
Thanks,
Zhonghui
On 2015/8/18 0:36, Fu, Zhonghui wrote:
> Enable i2c controller to suspend/resume asynchronously. This can improve
> system suspend/resume speed.
>
> Signed-off-by: Zhonghui Fu <zhonghui.fu-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> ---
> drivers/i2c/busses/i2c-designware-platdrv.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c
> index 3dd2de3..fec0fce 100644
> --- a/drivers/i2c/busses/i2c-designware-platdrv.c
> +++ b/drivers/i2c/busses/i2c-designware-platdrv.c
> @@ -245,6 +245,7 @@ static int dw_i2c_probe(struct platform_device *pdev)
>
> adap = &dev->adapter;
> i2c_set_adapdata(adap, dev);
> + device_enable_async_suspend(&pdev->dev);
> adap->owner = THIS_MODULE;
> adap->class = I2C_CLASS_DEPRECATED;
> strlcpy(adap->name, "Synopsys DesignWare I2C adapter",
> -- 1.7.1
>
WARNING: multiple messages have this Message-ID (diff)
From: "Fu, Zhonghui" <zhonghui.fu@linux.intel.com>
To: wsa@the-dreams.de
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>,
christian.ruppert@alitech.com, atull@opensource.altera.com,
jszhang@marvell.com, raymond.tan@intel.com,
Romain.Baeriswyl@abilis.com, carlpeng008@gmail.com,
david.e.box@linux.intel.com, Alexey.Brodkin@synopsys.com,
linux-i2c@vger.kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] i2c/designware: enable i2c controller to suspend/resume asynchronously
Date: Mon, 24 Aug 2015 23:23:42 +0800 [thread overview]
Message-ID: <55DB36FE.10204@linux.intel.com> (raw)
In-Reply-To: <55D20D79.3090308@linux.intel.com>
Hi,
Any comments are welcome.
Thanks,
Zhonghui
On 2015/8/18 0:36, Fu, Zhonghui wrote:
> Enable i2c controller to suspend/resume asynchronously. This can improve
> system suspend/resume speed.
>
> Signed-off-by: Zhonghui Fu <zhonghui.fu@linux.intel.com>
> ---
> drivers/i2c/busses/i2c-designware-platdrv.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c
> index 3dd2de3..fec0fce 100644
> --- a/drivers/i2c/busses/i2c-designware-platdrv.c
> +++ b/drivers/i2c/busses/i2c-designware-platdrv.c
> @@ -245,6 +245,7 @@ static int dw_i2c_probe(struct platform_device *pdev)
>
> adap = &dev->adapter;
> i2c_set_adapdata(adap, dev);
> + device_enable_async_suspend(&pdev->dev);
> adap->owner = THIS_MODULE;
> adap->class = I2C_CLASS_DEPRECATED;
> strlcpy(adap->name, "Synopsys DesignWare I2C adapter",
> -- 1.7.1
>
next prev parent reply other threads:[~2015-08-24 15:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 16:36 [PATCH] i2c/designware: enable i2c controller to suspend/resume asynchronously Fu, Zhonghui
2015-08-17 16:36 ` Fu, Zhonghui
[not found] ` <55D20D79.3090308-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-08-24 15:23 ` Fu, Zhonghui [this message]
2015-08-24 15:23 ` Fu, Zhonghui
2015-09-24 7:12 ` Fu, Zhonghui
-- strict thread matches above, loose matches on Subject: below --
2015-12-24 14:30 Fu, Zhonghui
2016-01-05 8:53 ` Jarkko Nikula
2016-01-05 12:14 ` Andy Shevchenko
2016-01-15 7:01 ` Fu, Zhonghui
2016-01-15 6:42 ` Fu, Zhonghui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55DB36FE.10204@linux.intel.com \
--to=zhonghui.fu-vuqaysv1563yd54fqh9/ca@public.gmane.org \
--cc=Alexey.Brodkin-HKixBCOQz3hWk0Htik3J/w@public.gmane.org \
--cc=Romain.Baeriswyl-ux6zf3SgZrrQT0dZR+AlfA@public.gmane.org \
--cc=atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org \
--cc=carlpeng008-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=christian.ruppert-Yycd8EPnGM5BDgjK7y7TUQ@public.gmane.org \
--cc=david.e.box-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=jszhang-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=raymond.tan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.