[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72n0QNusCdW5VZM99Jb9dw3zFLXFzEAGoBW7VQQikUmCQA@mail.gmail.com>
Date: Fri, 16 Oct 2020 05:19:26 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Lars Poeschel <poeschel@...onage.de>
Cc: Willy Tarreau <willy@...roxy.com>,
Ksenija Stanojevic <ksenija.stanojevic@...il.com>,
open list <linux-kernel@...r.kernel.org>,
Willy Tarreau <w@....eu>
Subject: Re: [PATCH v4 24/32] auxdisplay: Move char redefine code to hd44780_common
On Mon, Oct 5, 2020 at 3:01 PM <poeschel@...onage.de> wrote:
>
> + while (*esc && cgoffset < 8) {
> + shift ^= 4;
> + if (*esc >= '0' && *esc <= '9') {
> + value |= (*esc - '0') << shift;
> + } else if (*esc >= 'A' && *esc <= 'F') {
> + value |= (*esc - 'A' + 10) << shift;
> + } else if (*esc >= 'a' && *esc <= 'f') {
> + value |= (*esc - 'a' + 10) << shift;
I just noticed this is undoing commit 3f03b6498 ("auxdisplay: charlcd:
Reuse hex_to_bin() instead of custom code"). Lars?
Cheers,
Miguel
Powered by blists - more mailing lists