From: Jason Gunthorpe Subject: Re: [PATCH] tpm: Fix suspend regression Date: Tue, 10 May 2016 10:52:51 -0600 Message-ID: <20160510165251.GB29825@obsidianresearch.com> References: <1462892834-5631-1-git-send-email-stefanb@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1462892834-5631-1-git-send-email-stefanb-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Stefan Berger Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: tpmdd-devel@lists.sourceforge.net On Tue, May 10, 2016 at 11:07:14AM -0400, Stefan Berger wrote: > Fix the suspend regression due to wrong way of retrieving > the chip from the parent device. Yep, that is it, commentary needs a tweak though: Fix the susped regression due to the wrong way of retrieving the chip. The suspend functions are attached to the hardware device, not the chip and thus must rely on drvdata. > Reported-by: Jeremiah Mahler > Signed-off-by: Stefan Berger > Tested-by: Stefan Berger Fixes: e89f8b1ade9cc1a ("tpm: Remove all uses of drvdata from the TPM Core") Reviewed-by: Jason Gunthorpe Jason ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j