Re: [PATCH] Documentation: gpiolib: sysfs: high can be any nonzero value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 22, 2015 at 06:39:46PM +0200, Dirk Behme wrote:
> With the commit 79a9becda8940d ("gpiolib: export descriptor-based
> GPIO interface") the gpiolib can return any nonzero value for high.
> Not only 1. Correct this in the documentation.

As _gpiod_get_raw_value returns a bool, I fail to see how that could
happen.

Ah, that was fixed by commit 23600969ff13 ("gpio: clamp returned values
to the boolean range") in 3.15.

Looks like that one should be backported to 3.14 instead.

Thanks,
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux