Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 285B9C433EF for ; Wed, 13 Oct 2021 14:00:36 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5750A610F9 for ; Wed, 13 Oct 2021 14:00:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5750A610F9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 64A7983373; Wed, 13 Oct 2021 16:00:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 3785183373; Wed, 13 Oct 2021 16:00:30 +0200 (CEST) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4053782C2B for ; Wed, 13 Oct 2021 16:00:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clement.leger@bootlin.com Received: (Authenticated sender: clement.leger@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 48EE760018; Wed, 13 Oct 2021 14:00:26 +0000 (UTC) From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: u-boot@lists.denx.de, Etienne Carriere Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Nicolas Ferre Subject: [PATCH] firmware: scmi: fix struct layout for scmi_clk_rate_set_in Date: Wed, 13 Oct 2021 16:00:04 +0200 Message-Id: <20211013140004.4122342-1-clement.leger@bootlin.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean First two fields are reversed compared to what is expected by the SCMI specification. Signed-off-by: Clément Léger Fixes: 60388844836 ("clk: add clock driver for SCMI agents") --- include/scmi_protocols.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/scmi_protocols.h b/include/scmi_protocols.h index ccab97c96c..653aa7ef30 100644 --- a/include/scmi_protocols.h +++ b/include/scmi_protocols.h @@ -96,14 +96,14 @@ struct scmi_clk_rate_get_out { /** * struct scmi_clk_state_in - Message payload for CLOCK_RATE_SET command - * @clock_id: SCMI clock ID * @flags: Flags for the clock rate set request + * @clock_id: SCMI clock ID * @rate_lsb: 32bit LSB of the clock rate in Hertz * @rate_msb: 32bit MSB of the clock rate in Hertz */ struct scmi_clk_rate_set_in { - u32 clock_id; u32 flags; + u32 clock_id; u32 rate_lsb; u32 rate_msb; }; -- 2.33.0