mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "disp: msm: dsi: add dsi ramdump support without DEBUG_FS"
This commit is contained in:
commit
cf37238a38
1 changed files with 7 additions and 0 deletions
|
|
@ -348,6 +348,13 @@ static int dsi_ctrl_debugfs_deinit(struct dsi_ctrl *dsi_ctrl)
|
|||
static int dsi_ctrl_debugfs_init(struct dsi_ctrl *dsi_ctrl,
|
||||
struct dentry *parent)
|
||||
{
|
||||
char dbg_name[DSI_DEBUG_NAME_LEN];
|
||||
|
||||
snprintf(dbg_name, DSI_DEBUG_NAME_LEN, "dsi%d_ctrl",
|
||||
dsi_ctrl->cell_index);
|
||||
sde_dbg_reg_register_base(dbg_name,
|
||||
dsi_ctrl->hw.base,
|
||||
msm_iomap_size(dsi_ctrl->pdev, "dsi_ctrl"));
|
||||
return 0;
|
||||
}
|
||||
static int dsi_ctrl_debugfs_deinit(struct dsi_ctrl *dsi_ctrl)
|
||||
|
|
|
|||
Loading…
Reference in a new issue