On 14/02/2026 13:39, Krzysztof Kozlowski wrote:
>  
>       if (response) {
>               xfer->rxd = cmd;
> -             xfer->rxlen = cmdlen;
> +             xfer->rxcnt = cmdlen;
>       }
>  }
>  
> @@ -50,7 +50,7 @@ int acpm_dvfs_set_rate(const struct acpm_handle *handle,
>       u32 cmd[4];
>  
>       acpm_dvfs_init_set_rate_cmd(cmd, clk_id, rate);
> -     acpm_dvfs_set_xfer(&xfer, cmd, sizeof(cmd), acpm_chan_id, false);
> +     acpm_dvfs_set_xfer(&xfer, cmd, ARRAY_SIZE(cmd), acpm_chan_id, false);

Went fine through few build tests, but apparently there is a setup this
needs proper header (<linux/array_size.h>), as reported by kbuild robot.

There will be v2 in few days.

Best regards,
Krzysztof

Reply via email to