rockchip64-6.13: fix rkvdec resets control at probe

This commit is contained in:
amazingfate
2024-12-27 10:43:01 +08:00
committed by Jianfeng Liu
parent eae71425dc
commit b256a94f93

View File

@@ -292,7 +292,7 @@ index 111111111111..222222222222 100644
}
+
+ rkvdec->rstc = devm_reset_control_array_get_exclusive(&pdev->dev);
+ rkvdec->rstc = devm_reset_control_array_get_optional_exclusive(&pdev->dev);
+ if (IS_ERR(rkvdec->rstc)) {
+ dev_err(&pdev->dev,
+ "get resets failed %ld\n", PTR_ERR(rkvdec->rstc));