Commit 282083e0 authored by Ranjit Waghmode's avatar Ranjit Waghmode Committed by Michal Simek
Browse files

spi: zynqmp: gqspi: add checks on clock API return codes



This patch does following:

- Adds checks on clock API return values inside

- Factors the clk_get_rate() out of the loop rather than repeatedly
  calling the clk API

Signed-off-by: default avatarRanjit Waghmode <ranjit.waghmode@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent a1c1b2fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment