Commit c084c8da authored by Lee Jones's avatar Lee Jones Committed by Sean Paul

drm/sti: use new Reset API

Since 0b52297f ("reset: Add support for shared reset controls") the
new Reset API now demands consumers choose either an *_exclusive or a
*_shared line when requesting reset lines.

This issue was found when running a kernel containing the aforementioned
patch  which includes an informitive WARN().  It implies that one or
more used reset lines are in fact shared.  This is why we're using the
*_shared variant.
Signed-off-by: default avatarLee Jones <>
Acked-by: default avatarPeter Griffin <>
Signed-off-by: default avatarSean Paul <>
parent d9a7ed77
......@@ -254,12 +254,12 @@ static int sti_compositor_probe(struct platform_device *pdev)
/* Get reset resources */
compo->rst_main = devm_reset_control_get(dev, "compo-main");
compo->rst_main = devm_reset_control_get_shared(dev, "compo-main");
/* Take compo main out of reset */
if (!IS_ERR(compo->rst_main))
compo->rst_aux = devm_reset_control_get(dev, "compo-aux");
compo->rst_aux = devm_reset_control_get_shared(dev, "compo-aux");
/* Take compo aux out of reset */
if (!IS_ERR(compo->rst_aux))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment