<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/auxdisplay/charlcd.c, branch linux-5.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-08-08T17:59:17Z</updated>
<entry>
<title>auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay</title>
<updated>2019-08-08T17:59:17Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2019-08-06T07:14:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75354284cc3aa58f7e54d479d9bee69bd2ca828f'/>
<id>urn:sha1:75354284cc3aa58f7e54d479d9bee69bd2ca828f</id>
<content type='text'>
This header is included in drivers/auxdisplay/. Make it a local header.

Reviewed-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>auxdisplay: charlcd: make backlight initial state configurable</title>
<updated>2019-03-17T07:48:45Z</updated>
<author>
<name>Mans Rullgard</name>
</author>
<published>2019-03-01T18:48:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc5d04d840d62d7c75e268c51da7cd0be2ee03c0'/>
<id>urn:sha1:cc5d04d840d62d7c75e268c51da7cd0be2ee03c0</id>
<content type='text'>
The charlcd driver currently flashes the backlight once on init.
This may not be desirable.  Thus, add options for turning the
backlight off or on as well.

Signed-off-by: Mans Rullgard &lt;mans@mansr.com&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>auxdisplay: charlcd: simplify init message display</title>
<updated>2019-03-17T07:48:39Z</updated>
<author>
<name>Mans Rullgard</name>
</author>
<published>2019-03-01T18:48:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9171722459fdeab0f27790ae04c0c5a4ae5a9b2'/>
<id>urn:sha1:c9171722459fdeab0f27790ae04c0c5a4ae5a9b2</id>
<content type='text'>
If CONFIG_PANEL_CHANGE_MESSAGE is set, CONFIG_PANEL_BOOT_MESSAGE will
also be defined, so the double ifdef is pointless.  Simplify the code
further by using an intermediate macro rather duplicating most of the
line.

Signed-off-by: Mans Rullgard &lt;mans@mansr.com&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>auxdisplay: charlcd: Introduce charlcd_free() helper</title>
<updated>2019-03-17T07:48:16Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2019-03-12T14:44:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e44fc85060ec997e9c6f3c49a04274db6621d26'/>
<id>urn:sha1:8e44fc85060ec997e9c6f3c49a04274db6621d26</id>
<content type='text'>
The charlcd_free() is a counterpart to charlcd_alloc()
and should be called symmetrically on tear down.

Reviewed-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>auxdisplay: charlcd: Move to_priv() to charlcd namespace</title>
<updated>2019-03-17T07:48:10Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2019-03-12T14:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b658a2113ba4d4b99e2a57926379b0c0b0c648ab'/>
<id>urn:sha1:b658a2113ba4d4b99e2a57926379b0c0b0c648ab</id>
<content type='text'>
In order to be more particular in names, rename to_priv() macro
to charlcd_to_priv().

No functional change intended.

Reviewed-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>auxdisplay: charlcd: fix x/y command parsing</title>
<updated>2018-12-21T20:27:21Z</updated>
<author>
<name>Mans Rullgard</name>
</author>
<published>2018-12-05T13:52:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9bc30ab82108e6a34dc63bf956b49edf71b1681a'/>
<id>urn:sha1:9bc30ab82108e6a34dc63bf956b49edf71b1681a</id>
<content type='text'>
The x/y command parsing has been broken since commit 129957069e6a
("staging: panel: Fixed checkpatch warning about simple_strtoul()").

Commit b34050fadb86 ("auxdisplay: charlcd: Fix and clean up handling of
x/y commands") fixed some problems by rewriting the parsing code,
but also broke things further by removing the check for a complete
command before attempting to parse it.  As a result, parsing is
terminated at the first x or y character.

This reinstates the check for a final semicolon.  Whereas the original
code use strchr(), this is wasteful seeing as the semicolon is always
at the end of the buffer.  Thus check this character directly instead.

Signed-off-by: Mans Rullgard &lt;mans@mansr.com&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>auxdisplay: charlcd: delete mdelay in long_sleep</title>
<updated>2018-08-01T16:55:36Z</updated>
<author>
<name>Jia-Ju Bai</name>
</author>
<published>2018-01-26T15:19:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=171613926abc9980e58cb36d5d54fe60e58a03a5'/>
<id>urn:sha1:171613926abc9980e58cb36d5d54fe60e58a03a5</id>
<content type='text'>
The function long_sleep() calls mdelay() when in an interrupt handler.
But only charlcd_clear_display() and charlcd_init_display calls
long_sleep(), and my tool finds that the two functions
are never called in an interrupt handler.
Thus mdelay() and in_interrupt() are not necessary.

This is found by a static analysis tool named DCNS written by myself.

Signed-off-by: Jia-Ju Bai &lt;baijiaju1990@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>auxdisplay: Replace licenses with SPDX identifiers</title>
<updated>2018-04-12T17:02:45Z</updated>
<author>
<name>Miguel Ojeda</name>
</author>
<published>2018-02-17T19:33:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=351f683b9823a3d1bffb6e2e3f381601aa0b2671'/>
<id>urn:sha1:351f683b9823a3d1bffb6e2e3f381601aa0b2671</id>
<content type='text'>
Cc: Philippe Ombredanne &lt;pombredanne@nexb.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Acked-by: Linus Walleij &lt;triad@dflund.se&gt;
Acked-by: Robin van der Gracht &lt;robin@protonic.nl&gt;
Acked-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>auxdisplay: charlcd: Fix and clean up handling of x/y commands</title>
<updated>2018-04-12T17:02:44Z</updated>
<author>
<name>Miguel Ojeda</name>
</author>
<published>2018-02-27T22:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b34050fadb86c55d2066ec78a9d05e9809ff5812'/>
<id>urn:sha1:b34050fadb86c55d2066ec78a9d05e9809ff5812</id>
<content type='text'>
The current version is not parsing multiple x/y commands as the code
originally intended. On top of that, kstrtoul() expects
NULL-terminated strings. Finally, the code does two passes over
the string.

Some explanations about the supported syntax are added as well.

Cc: Willy Tarreau &lt;w@1wt.eu&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Cc: Robert Abel &lt;rabel@robertabel.eu&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>auxdisplay: charlcd: fix hex literal ranges for graphics command</title>
<updated>2018-04-12T17:02:44Z</updated>
<author>
<name>Robert Abel</name>
</author>
<published>2018-02-09T23:50:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e8c04f75731bbd968fa77e94ed856f2dcf53ae6'/>
<id>urn:sha1:2e8c04f75731bbd968fa77e94ed856f2dcf53ae6</id>
<content type='text'>
The graphics command expects 16 hexadecimal literals, but would allow
characters in range [0-9a-zA-Z] instead of [0-9a-fA-F].

Signed-off-by: Robert Abel &lt;rabel@robertabel.eu&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Reviewed-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
</feed>
