Re: [PATCH v2 1/6] firmware: arm_scmi: Simplify enable/disable Clock operations

From: Stephen Boyd
Date: Wed Sep 06 2023 - 17:38:30 EST


Quoting Cristian Marussi (2023-08-26 05:53:03)
> SCMI Clock enable/disable operations come in 2 different flavours which
> simply just differ in how the underlying SCMI transactions is carried on:
> atomic or not.
>
> Currently we expose such SCMI operations through 2 distinctly named
> wrappers, that, in turn, are wrapped into another couple of similarly and
> distinctly named callbacks inside SCMI Clock driver user.
>
> Reduce the churn of duplicated wrappers by adding a param to SCMI Clock
> enable/disable operations to ask for atomic operation while removing the
> _atomic version of such operations.
>
> No functional change.
>
> CC: Michael Turquette <mturquette@xxxxxxxxxxxx>
> CC: Stephen Boyd <sboyd@xxxxxxxxxx>
> CC: linux-clk@xxxxxxxxxxxxxxx
> Signed-off-by: Cristian Marussi <cristian.marussi@xxxxxxx>
> ---

Acked-by: Stephen Boyd <sboyd@xxxxxxxxxx>