Searched hist:"0 adca93a5c68814398b7a6d3cd71b5ca5463384c" (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/include/kernel/ |
| H A D | dt_driver.h | 0adca93a5c68814398b7a6d3cd71b5ca5463384c Wed Jan 04 17:22:32 UTC 2023 Gatien Chevallier <gatien.chevallier@foss.st.com> core: dt_driver: differentiate error codes if property is not found
Differentiates error codes in dt_driver_device_from_node_idx_prop() if the requested resource is not found by returning TEE_ERROR_ITEM_NOT_FOUND. This is useful to differentiate cases for optional properties in drivers.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
|
| /optee_os/core/kernel/ |
| H A D | dt_driver.c | 0adca93a5c68814398b7a6d3cd71b5ca5463384c Wed Jan 04 17:22:32 UTC 2023 Gatien Chevallier <gatien.chevallier@foss.st.com> core: dt_driver: differentiate error codes if property is not found
Differentiates error codes in dt_driver_device_from_node_idx_prop() if the requested resource is not found by returning TEE_ERROR_ITEM_NOT_FOUND. This is useful to differentiate cases for optional properties in drivers.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
|