staging: udlfb: support for writing backup EDID to sysfs file
authorBernie Thompson <bernie@plugable.com>
Sun, 5 Sep 2010 23:35:31 +0000 (16:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 23:50:21 +0000 (16:50 -0700)
commit8ef8cc4fca4a92e77c0b5aa7a852a6c3d2fba844
treea3ef0a17f95280e2ec63212d5dffe3deb2dd6ac1
parent1572f91cffd7c0d64ab4e0cec71e1d2d1a3349e1
staging: udlfb: support for writing backup EDID to sysfs file

Support writing default/backup edid via /sys/class/graphics/fb?/edid

Writing a backup edid blob to the 'edid' file will cause udlfb to
attempt to re-read the edid from hardware.
If we still don't have a good edid, it will use the backup edid instead.
The intent is to 1) enable user-supplied edid
2) enable udev rules to backup the last known good edid
for a device, and then provide that edid as a backup for all future starts

Signed-off-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/udlfb/udlfb.c