Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: scmi-msg: correct voltage domain protocol version & clock rates enumeration #6951

Merged
merged 2 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/drivers/scmi-msg/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ static void scmi_clock_describe_rates(struct scmi_msg *msg)
}

out_count = rate_index - in_args->rate_index;
remaining = nb_rates - in_args->rate_index;
remaining = nb_rates - rate_index;
p2a.num_rates_flags = SCMI_RATES_BY_ARRAY(out_count, remaining);
} else if (status == SCMI_NOT_SUPPORTED) {
unsigned long triplet[3] = { 0, 0, 0 };
Expand Down
2 changes: 1 addition & 1 deletion core/drivers/scmi-msg/voltage_domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "common.h"

#define SCMI_PROTOCOL_VERSION_VOLTAGE_DOMAIN 0x30000
#define SCMI_PROTOCOL_VERSION_VOLTAGE_DOMAIN 0x20000

/*
* Identifiers of the SCMI Clock Management Protocol commands
Expand Down