diff options
| author | Phil Reid <[email protected]> | 2019-07-25 10:48:45 +0800 |
|---|---|---|
| committer | Moritz Fischer <[email protected]> | 2019-08-18 17:40:02 -0700 |
| commit | dec43da46f63eb71f519d963ba6832838e4262a3 (patch) | |
| tree | e97d9831cd1fd74724bb264b2af2af454a02587c /drivers/fpga/altera-fpga2sdram.c | |
| parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) | |
fpga: altera-ps-spi: Fix getting of optional confd gpio
Currently the driver does not handle EPROBE_DEFER for the confd gpio.
Use devm_gpiod_get_optional() instead of devm_gpiod_get() and return
error codes from altera_ps_probe().
Fixes: 5692fae0742d ("fpga manager: Add altera-ps-spi driver for Altera FPGAs")
Signed-off-by: Phil Reid <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions