Re: [PATCH] tpm: don't destroy chip device prematurely

From: Jarkko Sakkinen
Date: Sat Oct 08 2016 - 06:48:04 EST

On Fri, Oct 07, 2016 at 02:24:59PM +0000, Winkler, Tomas wrote:
> So here I'm to say I'm sorry for misleading this, after all the
> doubts I got back to debugging and traces. One thing for a reason
> moving the device_del, had really made the problem go away, but the
> real problem was unbalance runtime_pm PUT/GET from the tpm_crb probe
> function. I will post the fixed patch, of course, this one should be
> dropped. In any case, and this is not just to keep my ego up, that
> calling to the tom stack with unutilized dev is not healthy and we
> should look for that.

Great. I'll test the fix once it's available.