summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-picolcd_cir.c
diff options
context:
space:
mode:
authorBruno Prémont <bonbons@linux-vserver.org>2012-08-19 21:32:04 +0400
committerJiri Kosina <jkosina@suse.cz>2012-09-05 13:48:06 +0400
commit16048709b2f6a7e721ac677f9a6741ac1c13ffd7 (patch)
tree3714cd94ea235a4869d55f8de990e8d4518ac714 /drivers/hid/hid-picolcd_cir.c
parenta5785cc0101928663c8ed89f42afea719aecee09 (diff)
downloadlinux-16048709b2f6a7e721ac677f9a6741ac1c13ffd7.tar.xz
HID: picoLCD: rework hid-fbdev interaction
Split out all FB related data out of struct picolcd_data into a struct picolcd_fb_data that is allocated with fb_info. This way fb_info may cleanly outlive struct picolcd_data for as long as needed for its last user to drop his reference. Access to struct picolcd_data is now protected with struct picolcd_fb_data's lock and tile update reports are only generated while picolcd_fbdata->picolcd is not NULL and is not marked as failed (which indicates unplug in progress). Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd_cir.c')
0 files changed, 0 insertions, 0 deletions