rockchip64-6.13: fix rkvdec resets control at probe
This commit is contained in:
parent
eae71425dc
commit
b256a94f93
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user