From 74ebb3889e9b3884520bfdba404056730c83e70c Mon Sep 17 00:00:00 2001 From: Junnan Wu Date: Thu, 29 Feb 2024 10:28:45 +0800 Subject: [PATCH] scmi: fix the typo of gyro sensor There is an error spell for gyroscope sensors which provides attribute named "anglvel" instead of "anglevel". Signed-off-by: Junnan Wu --- vhost-device-scmi/src/devices/iio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vhost-device-scmi/src/devices/iio.rs b/vhost-device-scmi/src/devices/iio.rs index bfe4a05..5e8758d 100644 --- a/vhost-device-scmi/src/devices/iio.rs +++ b/vhost-device-scmi/src/devices/iio.rs @@ -58,7 +58,7 @@ const UNIT_MAPPING: &[UnitMapping] = &[ unit_exponent: 0, }, UnitMapping { - channel: "in_anglevel", + channel: "in_anglvel", unit: scmi::SENSOR_UNIT_RADIANS_PER_SECOND, unit_exponent: 0, },