]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: Warn in hot-unplug workaround for framebuffers without device
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 19 Apr 2022 10:04:05 +0000 (12:04 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 20 Apr 2022 08:08:45 +0000 (10:08 +0200)
commit4ce5f4de564fd0dc5124b323430c18823771ac1d
treed971f4d0efe41de09abe61b5c12c50effa348c0d
parent726f58de3054cbf598ab914f82f7749bf9dc9ff3
fbdev: Warn in hot-unplug workaround for framebuffers without device

A workaround makes fbdev hot-unplugging work for framebuffers without
device. The only user for this feature was offb. As each OF framebuffer
now has an associated platform device, the workaround hould no longer
be triggered. Update it with a warning and rewrite the comment. Fbdev
drivers that trigger the hot-unplug workaround really need to be fixed.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Suggested-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220419100405.12600-3-tzimmermann@suse.de
drivers/video/fbdev/core/fbmem.c