diff options
author | Andre Przywara <andre.przywara@arm.com> | 2025-04-30 12:53:25 +0300 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2025-05-01 12:47:49 +0300 |
commit | 4a9c3c3215491f25bc66d615faa921c814b1a479 (patch) | |
tree | 94b276af4cf3971fbcdac3bdb5747b74d102dabc /rust/helpers/helpers.c | |
parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) | |
download | linux-4a9c3c3215491f25bc66d615faa921c814b1a479.tar.xz |
clk: sunxi-ng: fix order of arguments in clock macro
When introducing the SUNXI_CCU_MP_DATA_WITH_MUX_GATE_FEAT macro, the order
of the last two arguments was different between the users and the
definition: features became flags and flags became features.
This just didn't end up in a disaster yet because most users ended up
passing 0 for both arguments, and other clocks (for the new A523 SoC) are
not yet used.
Swap the order of the arguments in the definition, so that users stay
untouched.
Fixes: cdbb9d0d09db ("clk: sunxi-ng: mp: provide wrappers for setting feature flags")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20250430095325.477311-1-andre.przywara@arm.com
[wens@csie.org: fix typo in commit message]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions