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

This reverts commit e9b6741221.
This commit is contained in:
Ksawlii 2024-11-24 00:23:02 +01:00
parent a4424257c1
commit 14ec22fe41

View file

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