Commit 1e13c7fb authored by Philipp Zabel's avatar Philipp Zabel Committed by Bjorn Andersson
Browse files

remoteproc: st: explicitly request exclusive reset control

Commit a53e35db

 ("reset: Ensure drivers are explicit when requesting
reset lines") started to transition the reset control request API calls
to explicitly state whether the driver needs exclusive or shared reset
control behavior. Convert all drivers requesting exclusive resets to the
explicit API call so the temporary transition helpers can be removed.

No functional changes.

Cc: Patrice Chotard <>
Cc: Ohad Ben-Cohen <>
Cc: Bjorn Andersson <>
Signed-off-by: default avatarPhilipp Zabel <>
Signed-off-by: default avatarBjorn Andersson <>
parent 5acbf7e5
......@@ -212,7 +212,8 @@ static int st_rproc_parse_dt(struct platform_device *pdev)
int err;
if (ddata->config->sw_reset) {
ddata->sw_reset = devm_reset_control_get(dev, "sw_reset");
ddata->sw_reset = devm_reset_control_get_exclusive(dev,
if (IS_ERR(ddata->sw_reset)) {
dev_err(dev, "Failed to get S/W Reset\n");
return PTR_ERR(ddata->sw_reset);
......@@ -220,7 +221,8 @@ static int st_rproc_parse_dt(struct platform_device *pdev)
if (ddata->config->pwr_reset) {
ddata->pwr_reset = devm_reset_control_get(dev, "pwr_reset");
ddata->pwr_reset = devm_reset_control_get_exclusive(dev,
if (IS_ERR(ddata->pwr_reset)) {
dev_err(dev, "Failed to get Power Reset\n");
return PTR_ERR(ddata->pwr_reset);
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