|
|
@ -172,7 +172,7 @@ static int fingerprint_open(const hw_module_t* module, const char *id, hw_device |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
dev->common.tag = HARDWARE_DEVICE_TAG; |
|
|
|
dev->common.tag = HARDWARE_DEVICE_TAG; |
|
|
|
dev->common.version = FINGERPRINT_MODULE_API_VERSION_2_0; |
|
|
|
dev->common.version = FINGERPRINT_MODULE_API_VERSION_2_1; |
|
|
|
dev->common.module = (struct hw_module_t*) module; |
|
|
|
dev->common.module = (struct hw_module_t*) module; |
|
|
|
dev->common.close = fingerprint_close; |
|
|
|
dev->common.close = fingerprint_close; |
|
|
|
|
|
|
|
|
|
|
@ -202,7 +202,7 @@ static struct hw_module_methods_t fingerprint_module_methods = { |
|
|
|
fingerprint_module_t HAL_MODULE_INFO_SYM = { |
|
|
|
fingerprint_module_t HAL_MODULE_INFO_SYM = { |
|
|
|
.common = { |
|
|
|
.common = { |
|
|
|
.tag = HARDWARE_MODULE_TAG, |
|
|
|
.tag = HARDWARE_MODULE_TAG, |
|
|
|
.module_api_version = FINGERPRINT_MODULE_API_VERSION_2_0, |
|
|
|
.module_api_version = FINGERPRINT_MODULE_API_VERSION_2_1, |
|
|
|
.hal_api_version = HARDWARE_HAL_API_VERSION, |
|
|
|
.hal_api_version = HARDWARE_HAL_API_VERSION, |
|
|
|
.id = FINGERPRINT_HARDWARE_MODULE_ID, |
|
|
|
.id = FINGERPRINT_HARDWARE_MODULE_ID, |
|
|
|
.name = "Samsung TZ Fingerprint HAL", |
|
|
|
.name = "Samsung TZ Fingerprint HAL", |
|
|
|