gpio-mxc gpio get always returns 0 for outputs for IMX6

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Jul 11 09:02:38 PDT 2014


On Fri, Jul 11, 2014 at 08:34:19AM -0700, Tim Harvey wrote:
> I've noticed that for IMX6 the gpio-mxc gpio driver always returns 0
> for gpio's configured as outputs regardless of if they are outputing
> high or low.

There's a different way which this can be solved - set the SION but on
your GPIOs.  You will then be able to read back the state of the
output pin.

-- 
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list