[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fpga
Subject:    Re: [PATCH v10 2/3] fpga manager: Add altera-ps-spi driver for Altera FPGAs
From:       Anatolij Gustschin <agust () denx ! de>
Date:       2017-05-18 20:59:35
Message-ID: 20170518225935.7948d7a5 () crub
[Download RAW message or body]

On Wed, 17 May 2017 20:23:41 +0200
Anatolij Gustschin agust@denx.de 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
--
To unsubscribe from this list: send the line "unsubscribe linux-fpga" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic