mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 10:36:39 +07:00
OMAPDSS: add THIS_MODULE owner to DSS outputs
Setup the owner field for DSS output's omap_dss_device so that module refcounting works. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
d35317a42d
commit
b7328e1459
@ -687,6 +687,7 @@ static void dpi_init_output(struct platform_device *pdev)
|
||||
out->output_type = OMAP_DISPLAY_TYPE_DPI;
|
||||
out->name = "dpi.0";
|
||||
out->dispc_channel = dpi_get_channel();
|
||||
out->owner = THIS_MODULE;
|
||||
|
||||
dss_register_output(out);
|
||||
}
|
||||
|
@ -5424,6 +5424,7 @@ static void dsi_init_output(struct platform_device *dsidev)
|
||||
out->output_type = OMAP_DISPLAY_TYPE_DSI;
|
||||
out->name = dsi->module_id == 0 ? "dsi.0" : "dsi.1";
|
||||
out->dispc_channel = dsi_get_channel(dsi->module_id);
|
||||
out->owner = THIS_MODULE;
|
||||
|
||||
dss_register_output(out);
|
||||
}
|
||||
|
@ -1042,6 +1042,7 @@ static void hdmi_init_output(struct platform_device *pdev)
|
||||
out->output_type = OMAP_DISPLAY_TYPE_HDMI;
|
||||
out->name = "hdmi.0";
|
||||
out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
|
||||
out->owner = THIS_MODULE;
|
||||
|
||||
dss_register_output(out);
|
||||
}
|
||||
|
@ -1020,6 +1020,7 @@ static void rfbi_init_output(struct platform_device *pdev)
|
||||
out->output_type = OMAP_DISPLAY_TYPE_DBI;
|
||||
out->name = "rfbi.0";
|
||||
out->dispc_channel = OMAP_DSS_CHANNEL_LCD;
|
||||
out->owner = THIS_MODULE;
|
||||
|
||||
dss_register_output(out);
|
||||
}
|
||||
|
@ -342,6 +342,7 @@ static void sdi_init_output(struct platform_device *pdev)
|
||||
out->output_type = OMAP_DISPLAY_TYPE_SDI;
|
||||
out->name = "sdi.0";
|
||||
out->dispc_channel = OMAP_DSS_CHANNEL_LCD;
|
||||
out->owner = THIS_MODULE;
|
||||
|
||||
dss_register_output(out);
|
||||
}
|
||||
|
@ -792,6 +792,7 @@ static void venc_init_output(struct platform_device *pdev)
|
||||
out->output_type = OMAP_DISPLAY_TYPE_VENC;
|
||||
out->name = "venc.0";
|
||||
out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
|
||||
out->owner = THIS_MODULE;
|
||||
|
||||
dss_register_output(out);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user