summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-m41t94.c
diff options
context:
space:
mode:
authorBruno Prémont <bonbons@linux-vserver.org>2010-06-28 20:31:20 (GMT)
committerJiri Kosina <jkosina@suse.cz>2010-07-12 16:07:35 (GMT)
commit365f1fcd0d5a40f933bed55e515fce2077c40e9a (patch)
tree9abd7a6a49dc9aabbe507024cb27839c954e939a /drivers/rtc/rtc-m41t94.c
parentb70884ff3a5314c2eb702f85599e722cccdd2f5b (diff)
downloadlinux-365f1fcd0d5a40f933bed55e515fce2077c40e9a.tar.xz
HID: picolcd: do not reallocate memory on depth change
Reallocating memory in depth change does not work well if some userspace application has mmapped() the framebuffer as that mapping does not get adjusted (thus application continues to write to old buffer). In addition doing deferred_io_cleanup() and init() inside of set_par() tends to deadlock with fbcon's flashing cursor. Avoid all this by allocating a buffer that can hold 8bpp framebuffer and just use 1/8 of it while running at 1bpp. Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/rtc/rtc-m41t94.c')
0 files changed, 0 insertions, 0 deletions