linux/drivers/soc/xilinx
Gustavo A. R. Silva 2a7157b137 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: cee8113a29 ("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>
2018-01-16 15:50:20 +01:00
..
Kconfig soc: xilinx: xlnx_vcu: Depends on HAS_IOMEM for xlnx_vcu 2018-01-16 08:34:30 +01:00
Makefile
xlnx_vcu.c soc: xilinx: xlnx_vcu: Use bitwise & rather than logical && on clkoutdiv 2018-01-16 15:50:20 +01:00