diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2018-01-15 20:15:28 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-01-16 15:50:20 +0100 |
commit | 2a7157b137f6f4804fbd60e8734574373212105b (patch) | |
tree | eac53f0c9cee9a753fce61ff7837242d93f26a10 /drivers/soc/zte | |
parent | soc: xilinx: xlnx_vcu: Depends on HAS_IOMEM for xlnx_vcu (diff) | |
download | linux-2a7157b137f6f4804fbd60e8734574373212105b.tar.xz linux-2a7157b137f6f4804fbd60e8734574373212105b.zip |
soc: xilinx: xlnx_vcu: Use bitwise & rather than logical && on clkoutdiv
Currently clkoutdiv is being operated on by a logical && operator rather
than a bitwise & operator. This looks incorrect as these should be bit
flag operations.
Addresses-Coverity-ID: 1463959 ("Logical vs. bitwise operator")
Fixes: cee8113a295a ("soc: xilinx: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP init driver")
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Dhaval Shah <dshah@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions