Revert "clk: qcom: clk-rpmh: Fix overflow in BCM vote"

This reverts commit 4445bc6e9f which is
commit a4e5af27e6f6a8b0d14bc0d7eb04f4a6c7291586 upstream.

It breaks the Android kernel build and can be brought back in the future
if it is really needed.

Bug: 161946584
Change-Id: I964efba1123a8e6c7342a5cda1920a65ad9f3364
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2024-11-09 12:06:09 +00:00
parent 509ddbb2b8
commit c53240428e

View File

@ -270,8 +270,6 @@ static int clk_rpmh_bcm_send_cmd(struct clk_rpmh *c, bool enable)
cmd_state = 0;
}
cmd_state = min(cmd_state, BCM_TCS_CMD_VOTE_MASK);
if (c->last_sent_aggr_state != cmd_state) {
cmd.addr = c->res_addr;
cmd.data = BCM_TCS_CMD(1, enable, 0, cmd_state);