diff options
Diffstat (limited to 'drivers/gpio/gpio-ich.c')
| -rw-r--r-- | drivers/gpio/gpio-ich.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c index 2829d6d5002..e16d932fd44 100644 --- a/drivers/gpio/gpio-ich.c +++ b/drivers/gpio/gpio-ich.c @@ -205,7 +205,7 @@ static int ichx_gpio_request(struct gpio_chip *chip, unsigned nr)  	 * If it can't be trusted, assume that the pin can be used as a GPIO.  	 */  	if (ichx_priv.desc->use_sel_ignore[nr / 32] & (1 << (nr & 0x1f))) -		return 1; +		return 0;  	return ichx_read_bit(GPIO_USE_SEL, nr) ? 0 : -ENODEV;  }  |