[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZupvxyadxi8GppP6W2Pe5-eOcdjYYAcS28euUk8vx9iQ@mail.gmail.com>
Date: Sat, 28 Jul 2012 01:09:30 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Sean Paul <seanpaul@...omium.org>,
Kukjin Kim <kgene.kim@...sung.com>,
Sangsu Park <sangsu4u.park@...sung.com>
Cc: grant.likely@...retlab.ca, linus.walleij@...ricsson.com,
linux-kernel@...r.kernel.org, olofj@...omium.org,
dianders@...omium.org
Subject: Re: [PATCH] gpio: samsung: Fix off-by-one bug in gpio addresses
On Fri, Jul 20, 2012 at 10:58 PM, Sean Paul <seanpaul@...omium.org> wrote:
> Move gpc4 to the end of the automatically processed gpio controllers so
> we don't taint the automatic offset calculation.
>
> This bug caused all controllers coming after gpc4 to map to the
> incorrect address. The result is <&gpd1 0 0 0 0> would actually map to
> GPIO 0 in gpd0.
>
> Signed-off-by: Sean Paul <seanpaul@...omium.org>
Samsung people, please comment on this patch.
Yours,
Linus Walleij
--
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