aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-07-26 09:14:48 +0000
committerBartosz Golaszewski <[email protected]>2022-07-28 13:47:56 +0000
commite3c1d6c8c59ae542e53c6ef4602eabc39c108575 (patch)
treeebdebcbb10aed711928c7138e869531213673a49 /drivers/fpga/microchip-spi.c
parentgpio: xilinx: add missing blank line after declarations (diff)
downloadkernel-e3c1d6c8c59ae542e53c6ef4602eabc39c108575.tar.gz
kernel-e3c1d6c8c59ae542e53c6ef4602eabc39c108575.zip
gpio: 74xx-mmio: Use bits instead of plain numbers for flags
The initial code was misleading to use bitwise AND against plain number, and the commit d3054ba1db62 ("gpio: 74xx-mmio: Check MMIO_74XX_DIR_IN flag in mmio_74xx_dir_in()") missed that. Switch definitions to be defined bits for the correct comparison. Fixes: d3054ba1db62 ("gpio: 74xx-mmio: Check MMIO_74XX_DIR_IN flag in mmio_74xx_dir_in()") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions