[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200902070000.49089.david-b@pacbell.net>
Date: Sat, 7 Feb 2009 00:00:48 -0800
From: David Brownell <david-b@...bell.net>
To: Joonyoung Shim <dofmind@...il.com>
Cc: Tony Lindgren <tony@...mide.com>,
linux-arm-kernel@...ts.arm.linux.org.uk,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org
Subject: Re: [PATCH] twl4030-gpio: Fix getting the value of the TWL4030 GPIO output pin
On Friday 06 February 2009, Joonyoung Shim wrote:
> If TWL4030 GPIO pin is output, must read the value from REG_GPIODATAOUTx
> register in twl4030_get_gpio_datainout().
Why "must"? The goal is to return the *actual* value of the pin,
not the intended one. When an external signal overwhelms the drive
capability of that GPIO -- just a couple mA -- the correct value
to return can't be the value written in the output register.
Plus, this patch won't even link ... you changed the name of the
function at its definition, but not at its use points.
NAK, unless you can show there's a real bug this addresses...
- Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists