]> git.ipfire.org Git - thirdparty/u-boot.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>
Wed, 27 Jun 2018 07:11:58 +0000 (09:11 +0200)
commitd2eac2a452838c9333add894d1b0b84314c12265
treee52a288914ff844771d39e590737f3c01f2bc629
parent987756e59840a8a0fa0feb386a7fba9169fff156
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