lkml.org 
[lkml]   [2015]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] tpm, tpm_tis: use acpi_driver instead of pnp_driver
On Wed, Sep 30, 2015 at 08:58:35AM +0300, Jarkko Sakkinen wrote:
> Right. I think it would make sense to be conservative and use
> acpi_driver only for MSFT0101 because at least I don't know answer
> to this question. It would be a risk to take these fixes to the stable
> kernels othwerwise.

In that case I'd suggest just adding it to the platform driver struct
and tidying up the init path a little (and having the platform driver
init code request resources rather than hardcoding them). It'll make it
easier to deal with any systems that declare TPMs in other tables such
as Device Tree later on.

--
Matthew Garrett | mjg59@srcf.ucam.org


\
 
 \ /
  Last update: 2015-09-30 08:21    [W:0.057 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site