Files
OpenCellular/chip
Doug Anderson 343df72277 gpio: Fix initting pulldowns
At the moment we don't seem to have any pull downs configured,
but they wouldn't work.  That's because:

* GPIO_PULL_UP   => 0x0006
* GPIO_PULL_DOWN => 0x0002

...so if we've got GPIO_PULL_DOWN in flags and then we run
the test "if (flags & GPIO_PULL_UP)", we'll actually test TRUE.
Oops.

BUG=None
TEST=Code inspection.
BRANCH=snow

Change-Id: Ie46ae291fe7edfc9f5237cf8bba3791de9755c5b
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/31278
Reviewed-by: David Hendricks <dhendrix@chromium.org>
2012-08-24 15:07:07 -07:00
..
2012-08-24 15:07:07 -07:00