rk3288-mipi-dsi: add the rk616 mipi driver 'struct dentry *debugfs_dir'.
authorlibing <libing@rock-chips.com>
Thu, 17 Apr 2014 09:38:09 +0000 (17:38 +0800)
committerlibing <libing@rock-chips.com>
Thu, 17 Apr 2014 09:46:03 +0000 (17:46 +0800)
drivers/video/rockchip/transmitter/rk616_mipi_dsi.c
drivers/video/rockchip/transmitter/rk616_mipi_dsi.h

index 59c627795ee0818cd5a8f5e8411e110cb27f4cf4..1c9685b01693daf49017abed5381ec46610ac28f 100755 (executable)
@@ -2447,8 +2447,8 @@ static int rk616_mipi_dsi_probe(struct platform_device *pdev)
         rk_fb_trsm_ops_register(&trsm_dsi_ops, SCREEN_MIPI);
         
 #ifdef MIPI_DSI_REGISTER_IO        
-               //debugfs_create_file("mipidsi0", S_IFREG | S_IRUGO, dsi->debugfs_dir, dsi, 
-       //                                              &reg_proc_fops);
+               debugfs_create_file("mipidsi0", S_IFREG | S_IRUGO, dsi->debugfs_dir, dsi, 
+                                                       &reg_proc_fops);
 #endif
         dsi0 = dsi;
         
@@ -2456,8 +2456,8 @@ static int rk616_mipi_dsi_probe(struct platform_device *pdev)
         dsi1 = dsi;
         
 #ifdef MIPI_DSI_REGISTER_IO  
-       // debugfs_create_file("mipidsi1", S_IFREG | S_IRUGO, dsi->debugfs_dir, dsi, 
-//                                                     &reg_proc_fops1);
+        debugfs_create_file("mipidsi1", S_IFREG | S_IRUGO, dsi->debugfs_dir, dsi, 
+                                                       &reg_proc_fops1);
 #endif
 
     }
index 6c1e1ec77860a5e1729772d16ccc0829b191f784..987e86ae3e9612627ebbc6b0388a1196c99c9df3 100755 (executable)
@@ -439,6 +439,7 @@ struct dsi {
        struct early_suspend early_suspend;
 #endif
 #endif
+    struct dentry *debugfs_dir;
        struct platform_device *pdev;
 };