MLK-20181-10: Improve the axi clock usage
Currently, the enable of the axi clock return status is ignored, causing issues when the enable fails then we try to disable it. Therefore, it is better to check the return status and disable it only when enable succeeded. Also, remove the helper functions around clk_axi, since we can directly use the clk API function for enable/disable the clock. Those functions are already checking for NULL clk and returning 0 if that's the case. Signed-off-by:Robert Chiras <robert.chiras@nxp.com>i> Acked-by:
Leonard Crestez <leonard.crestez@nxp.com>
Please register or sign in to comment