Re: [PATCH v10 2/3] fpga manager: Add altera-ps-spi driver for Altera FPGAs

From: Anatolij Gustschin
Date: Thu May 18 2017 - 16:59:59 EST


On Wed, 17 May 2017 20:23:41 +0200
Anatolij Gustschin agust@xxxxxxx wrote:
...
>+ if (!IS_ERR(conf->confd)) {
>+ if (!gpiod_get_raw_value_cansleep(conf->confd)) {
>+ dev_err(&mgr->dev, "CONF_DONE is low!\n");

as we agreed in the another thread, gpiod_get_value_cansleep()
should be used here. Another change: s/low/inactive/

--
Anatolij