]> git.baikalelectronics.ru Git - uboot.git/commit
clk: zynqmp: Fixed the same if/else part error reported by coverity
authorVipul Kumar <vipul.kumar@xilinx.com>
Wed, 27 Jun 2018 05:14:45 +0000 (10:44 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:53 +0000 (10:49 +0200)
commitb286c3ea3e8c493640eb251ca2aaea683d388868
tree07f5918d4ad0296aa85b8cca8811eaf91bf6f6f7
parent408c2217a3d0f9cca19a75732ac233cf2a1e7eb0
clk: zynqmp: Fixed the same if/else part error reported by coverity

This patch fixed the same if/else part error by adding the required
source select on the basis of is_pre_src check.

Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/clk/clk_zynqmp.c