Messages in this thread | | | Date | Wed, 30 Sep 2015 07:02:52 +0100 | From | Matthew Garrett <> | Subject | Re: [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
| |