drm/crc: Actually allow to change the crc source
[linux-2.6-microblaze.git] / drivers / gpu / drm / drm_debugfs_crc.c
index e22b812..5d67a41 100644 (file)
@@ -372,7 +372,7 @@ void drm_debugfs_crtc_crc_add(struct drm_crtc *crtc)
 
        crc_ent = debugfs_create_dir("crc", crtc->debugfs_entry);
 
-       debugfs_create_file("control", S_IRUGO, crc_ent, crtc,
+       debugfs_create_file("control", S_IRUGO | S_IWUSR, crc_ent, crtc,
                            &drm_crtc_crc_control_fops);
        debugfs_create_file("data", S_IRUGO, crc_ent, crtc,
                            &drm_crtc_crc_data_fops);