video: fbdev: atari: Fix inverse handling
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 11 Jul 2022 15:50:27 +0000 (17:50 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 18 Jul 2022 05:56:17 +0000 (07:56 +0200)
commitc7ef5e285c842bdca1121512967400443e565456
tree1550545c0a6595a43eb312cc8cb9d201ea832454
parent211f88e83f5095a91cab78b98b443c5c6c10e837
video: fbdev: atari: Fix inverse handling

Currently, the "inverse" option does not do anything, as it just sets a
flag, which is further unused.

Fix this by calling fb_invert_cmaps() instead, like other drivers do.
As this only affects the console colormap, this does not affect X.
Update the documentation to match the actual behavior.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Documentation/m68k/kernel-options.rst
drivers/video/fbdev/atafb.c