diff options
author | Jason Gunthorpe <[email protected]> | 2016-01-07 17:36:23 -0700 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2016-02-10 04:11:33 +0200 |
commit | 51dd43dff74b0547ad844638f6910ca29c956819 (patch) | |
tree | 4125f98506a266d67cb1607aa47ad2d0d2383961 /net/lapb | |
parent | 4d627e672bd0e8af4e734fef93e806499d1e1277 (diff) |
tpm_tis: Use devm_ioremap_resource
This does a request_resource under the covers which means tis holds a
lock on the memory range it is using so other drivers cannot grab it.
When doing probing it is important to ensure that other drivers are
not using the same range before tis starts touching it.
To do this flow the actual struct resource from the device right
through to devm_ioremap_resource. This ensures all the proper resource
meta-data is carried down.
Signed-off-by: Jason Gunthorpe <[email protected]>
Tested-by: Wilck, Martin <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Acked-by: Peter Huewe <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions