Skip to contentSkip to conversation

REPOST PATCH: radeon_del_edid.patch

PATCH Jon Smirl 1 participant 1 message Jun 23, 2005 Framebuffer layer

lore
Share & tools
lore

Jon Smirl

author
#0 lore raw

What is the status of this patch? It hasn't made it into linus' tree yet.

--
Jon Smirl
[email protected]

#radeonfb does not clean up EDID sysfs attribute
#Signed-off-by: Jon Smirl <[email protected]>

drivers/video/aty/radeon_base.c +5 -0
@@ -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
 	 *

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click