Re: [PATCH v4 08/10] drivers: qcom: rpmh-rsc: Don't double-check rpmh payload
From: Stephen Boyd
Date: Mon Apr 13 2020 - 19:02:08 EST
Quoting Douglas Anderson (2020-04-13 10:04:13)
> The calls rpmh_rsc_write_ctrl_data() and rpmh_rsc_send_data() are only
> ever called from rpmh.c. We know that rpmh.c already error checked
> the message. There's no reason to do it again in rpmh-rsc.
>
> Suggested-by: Maulik Shah <mkshah@xxxxxxxxxxxxxx>
> Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
> Reviewed-by: Maulik Shah <mkshah@xxxxxxxxxxxxxx>
> Tested-by: Maulik Shah <mkshah@xxxxxxxxxxxxxx>
> ---
Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>