tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()
authorJiandi An <anjiandi@codeaurora.org>
Mon, 19 Dec 2016 04:20:53 +0000 (22:20 -0600)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 23 Jan 2017 16:28:18 +0000 (18:28 +0200)
commit19b7bf51fc3dcd8b743da72cfb69578de6eb9877
treed1bd33fcdda45ff508b40a9379b3bb7f0e56bb29
parentaea7f54f3c757af82e033034b6c38e9e46564bdb
tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()

crb_check_resource() in TPM CRB driver calls
acpi_dev_resource_memory() which only handles 32-bit resources.
Adding a call to acpi_dev_resource_address_space() in TPM CRB
driver which handles 64-bit resources.

Signed-off-by: Jiandi An <anjiandi@codeaurora.org>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm_crb.c