Re: [PATCH 3/7] scsi: Drop runtime PM usage count after host is added

2016-02-19 Thread Mika Westerberg
On Fri, Feb 19, 2016 at 09:50:50AM +1100, Julian Calaby wrote: > Hi Mika, > > On Thu, Feb 18, 2016 at 7:54 PM, Mika Westerberg > wrote: > > Runtime PM of the SCSI host is already handled by calls to > > scsi_autopm_get_host() and scsi_autopm_put_host() from appropriate places > > whenever the hos

Re: [PATCH 3/7] scsi: Drop runtime PM usage count after host is added

2016-02-18 Thread Julian Calaby
Hi Mika, On Thu, Feb 18, 2016 at 7:54 PM, Mika Westerberg wrote: > Runtime PM of the SCSI host is already handled by calls to > scsi_autopm_get_host() and scsi_autopm_put_host() from appropriate places > whenever the host needs to be powered on. This works fine when there is > device connected to

[PATCH 3/7] scsi: Drop runtime PM usage count after host is added

2016-02-18 Thread Mika Westerberg
Runtime PM of the SCSI host is already handled by calls to scsi_autopm_get_host() and scsi_autopm_put_host() from appropriate places whenever the host needs to be powered on. This works fine when there is device connected to the host as once it runtime suspends the host will too. However, if there