From 15196e5b76f184d3d27900749de0bf7010226261 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Fri, 11 Jun 2021 13:52:39 +0100 Subject: ipa: ipu3: Support return values from configure() The IPU3 IPA interface does not define a return value from configure(). This prevents errors from being reported back to the pipeline handler when they occur in the IPA. Update the IPU3 IPA interface and add return values to the checks in IPAIPU3::configure() accordingly Reviewed-by: Paul Elder Reviewed-by: Umang Jain Signed-off-by: Kieran Bingham --- include/libcamera/ipa/ipu3.mojom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libcamera/ipa/ipu3.mojom b/include/libcamera/ipa/ipu3.mojom index 000c494d..911a3a07 100644 --- a/include/libcamera/ipa/ipu3.mojom +++ b/include/libcamera/ipa/ipu3.mojom @@ -42,7 +42,7 @@ interface IPAIPU3Interface { start() => (int32 ret); stop(); - configure(IPAConfigInfo configInfo) => (); + configure(IPAConfigInfo configInfo) => (int32 ret); mapBuffers(array buffers); unmapBuffers(array ids); -- cgit v1.2.1