RE: [PATCH 1/3] tpm: cmd_ready command can be issued only after granting locality

From: Winkler, Tomas
Date: Thu Feb 01 2018 - 17:08:37 EST



>
> On Wed, Jan 24, 2018 at 06:33:53PM +0000, Winkler, Tomas wrote:
> > > > - pm_runtime_put(dev);
> > > > + pm_runtime_put_sync(dev);
> > >
> > > Change to put_sync is needed so that the idle handshake gets
> completed?
> >
> > Right.
>
> Since we seem to agree that your change to get rid of the use of PM runtime
> should that be actually the first change in the patch set?
>
> Or are you looking forward to get these backported to stable kernels?

Yes, that was one of the reason behind for splitting this into two patches.
So this first patch is the actual fix and second is the rather non user visible fix
as runtime_pm should be enabled by default. But .. maybe both need to be backported.

Thanks
Tomas