RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
nel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in > pm_runtime_get_sync failed case > > On Friday, March 01, 2013 02:07:54 AM Liu, Chuansheng wrote: > > > > > -Original Message- > > > From: Li, Fei >

Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Rafael J. Wysocki
On Friday, March 01, 2013 02:07:54 AM Liu, Chuansheng wrote: > > > -Original Message- > > From: Li, Fei > > Sent: Thursday, February 28, 2013 5:06 PM > > To: gre...@linuxfoundation.org; Lan, Tianyu; st...@rowland.harvard.edu; > > sarah.a.sh...@linux.intel.com > > Cc: r...@sisk.pl;

Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Rafael J. Wysocki
.org; Lan, Tianyu; > > sarah.a.sh...@linux.intel.com; linux-...@vger.kernel.org; > > linux-kernel@vger.kernel.org > > Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in > > pm_runtime_get_sync failed case > > > > On Friday, March 01, 2013 1

RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
> -Original Message- > From: Li, Fei > Sent: Thursday, February 28, 2013 5:06 PM > To: gre...@linuxfoundation.org; Lan, Tianyu; st...@rowland.harvard.edu; > sarah.a.sh...@linux.intel.com > Cc: r...@sisk.pl; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > Liu, > Chuansheng;

RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
ernel@vger.kernel.org > Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in > pm_runtime_get_sync failed case > > On Friday, March 01, 2013 12:38:07 AM Liu, Chuansheng wrote: > > > > > -Original Message- > > > From: Alan Stern [mailto:st...@row

Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Rafael J. Wysocki
yu; sarah.a.sh...@linux.intel.com; > > r...@sisk.pl; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Liu, > > Chuansheng > > Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in > > pm_runtime_get_sync failed case > > > > On Thu, 28 Feb 2013, Li F

RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
er.kernel.org; Liu, > Chuansheng > Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in > pm_runtime_get_sync failed case > > On Thu, 28 Feb 2013, Li Fei wrote: > > > > > Even in failed case of pm_runtime_get_sync, the usage_count > > is incremented. I

Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Alan Stern
On Thu, 28 Feb 2013, Li Fei wrote: > > Even in failed case of pm_runtime_get_sync, the usage_count > is incremented. In order to keep the usage_count with correct > value and runtime power management to behave correctly, call > pm_runtime_put(_sync) in such case. > > Signed-off-by Liu

Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Alan Stern
On Thu, 28 Feb 2013, Li Fei wrote: Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value and runtime power management to behave correctly, call pm_runtime_put(_sync) in such case. Signed-off-by Liu Chuansheng

RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
, Chuansheng Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case On Thu, 28 Feb 2013, Li Fei wrote: Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value and runtime power

Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Rafael J. Wysocki
; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Liu, Chuansheng Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case On Thu, 28 Feb 2013, Li Fei wrote: Even in failed case of pm_runtime_get_sync, the usage_count is incremented

RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case On Friday, March 01, 2013 12:38:07 AM Liu, Chuansheng wrote: -Original Message- From: Alan Stern [mailto:st...@rowland.harvard.edu] Sent: Thursday, February 28, 2013 11:17 PM To: Li, Fei

RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
-Original Message- From: Li, Fei Sent: Thursday, February 28, 2013 5:06 PM To: gre...@linuxfoundation.org; Lan, Tianyu; st...@rowland.harvard.edu; sarah.a.sh...@linux.intel.com Cc: r...@sisk.pl; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Liu, Chuansheng; Li, Fei

Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Rafael J. Wysocki
...@linux.intel.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case On Friday, March 01, 2013 12:38:07 AM Liu, Chuansheng wrote: -Original Message- From: Alan Stern [mailto:st

Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Rafael J. Wysocki
On Friday, March 01, 2013 02:07:54 AM Liu, Chuansheng wrote: -Original Message- From: Li, Fei Sent: Thursday, February 28, 2013 5:06 PM To: gre...@linuxfoundation.org; Lan, Tianyu; st...@rowland.harvard.edu; sarah.a.sh...@linux.intel.com Cc: r...@sisk.pl;

RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
@vger.kernel.org Subject: Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case On Friday, March 01, 2013 02:07:54 AM Liu, Chuansheng wrote: -Original Message- From: Li, Fei Sent: Thursday, February 28, 2013 5:06 PM To: gre...@linuxfoundation.org