kernel_optimize_test/drivers/fpga
Luca Ceresoli 9c0d2c3f7f fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER
[ Upstream commit 484a58607a808c3721917f5ca5fba7eff809e4df ]

The current code produces an error message on devm_gpiod_get() errors even
when the error is -EPROBE_DEFER, which should be silent.

This has been observed producing a significant amount of messages like:

    xlnx-slave-spi spi1.1: Failed to get PROGRAM_B gpio: -517

Fix and simplify code by using the dev_err_probe() helper function.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Fixes: dd2784c01d ("fpga manager: xilinx-spi: check INIT_B pin during write_init")
Fixes: 061c97d13f ("fpga manager: Add Xilinx slave serial SPI driver")
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:06 +02:00
..
altera-cvp.c
altera-fpga2sdram.c
altera-freeze-bridge.c
altera-hps2fpga.c
altera-pr-ip-core-plat.c
altera-pr-ip-core.c
altera-ps-spi.c
dfl-afu-dma-region.c
dfl-afu-error.c
dfl-afu-main.c
dfl-afu-region.c
dfl-afu.h
dfl-fme-br.c
dfl-fme-error.c
dfl-fme-main.c
dfl-fme-mgr.c
dfl-fme-perf.c fpga: dfl: change data type of feature id to u16 2020-08-19 21:05:47 -07:00
dfl-fme-pr.c
dfl-fme-pr.h
dfl-fme-region.c
dfl-fme.h
dfl-pci.c fpga: dfl: pci: add DID for D5005 PAC cards 2021-05-11 14:47:19 +02:00
dfl.c fpga: dfl: create a dfl bus type to support DFL devices 2020-09-09 20:28:16 -07:00
dfl.h fpga: dfl: create a dfl bus type to support DFL devices 2020-09-09 20:28:16 -07:00
fpga-bridge.c
fpga-mgr.c
fpga-region.c fpga: fpga-region: Cleanup an outdated comment 2020-09-04 20:27:45 -07:00
ice40-spi.c
Kconfig fpga: Specify HAS_IOMEM dependency for FPGA_DFL 2020-12-01 18:46:24 +01:00
machxo2-spi.c
Makefile
of-fpga-region.c
socfpga-a10.c
socfpga.c
stratix10-soc.c fpga: stratix10-soc: make FPGA task un-interruptible 2020-08-19 21:05:46 -07:00
ts73xx-fpga.c
xilinx-pr-decoupler.c
xilinx-spi.c fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER 2021-05-14 09:50:06 +02:00
zynq-fpga.c
zynqmp-fpga.c