From e43c8c26e6ebad3cadabda9d5d4fecba84333078 Mon Sep 17 00:00:00 2001 From: Mikael Olsson Date: Tue, 20 Feb 2024 15:48:47 +0100 Subject: Fix UAPI device type naming and validation The device types in the UAPI have been renamed to follow the UAPI namespacing and driver library validation has been added to ensure the driver library and UAPI device enum values match. The kernel and driver library version have been given a major bump for the introduction of the device type in the capabilities. Change-Id: Ib782b0bd7a8641db88521f8be399f709d2d73816 Signed-off-by: Mikael Olsson --- kernel/rpmsg/ethosu_rpmsg_capabilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/rpmsg/ethosu_rpmsg_capabilities.c') diff --git a/kernel/rpmsg/ethosu_rpmsg_capabilities.c b/kernel/rpmsg/ethosu_rpmsg_capabilities.c index 30a9aef..8d9386e 100644 --- a/kernel/rpmsg/ethosu_rpmsg_capabilities.c +++ b/kernel/rpmsg/ethosu_rpmsg_capabilities.c @@ -97,7 +97,7 @@ void ethosu_capability_rsp(struct ethosu_rpmsg_mailbox *mailbox, cap->uapi->hw_cfg.macs_per_cc = rsp->macs_per_cc; cap->uapi->hw_cfg.cmd_stream_version = rsp->cmd_stream_version; cap->uapi->hw_cfg.custom_dma = rsp->custom_dma; - cap->uapi->hw_cfg.type = ETHOSU_DEV_SUBSYSTEM; + cap->uapi->hw_cfg.type = ETHOSU_UAPI_DEVICE_SUBSYSTEM; cap->errno = 0; complete(&cap->done); -- cgit v1.2.1