Third repost: radeon_del_edid.patch

From: Jon Smirl <hidden>
Date: 2005-07-13 22:27:08
Subsystem: framebuffer layer, the rest · Maintainers: Helge Deller, Linus Torvalds

Can we get this into the kernel?

--
Jon Smirl
jonsmirl@gmail.com

#radeonfb does not clean up EDID sysfs attribute
#Signed-off-by: Jon Smirl [off-list ref]
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -2522,6 +2522,11 @@ static void __devexit radeonfb_pci_unreg

      radeonfb_pm_exit(rinfo);

+       if (rinfo->mon1_EDID)
+               sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid1_attr);
+       if (rinfo->mon2_EDID)
+               sysfs_remove_bin_file(&rinfo->pdev->dev.kobj, &edid2_attr);
+
 #if 0
      /* restore original state
       *


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help