|
@@ -520,7 +520,8 @@ static int sun4i_spdif_probe(struct platform_device *pdev)
|
|
|
platform_set_drvdata(pdev, host);
|
|
|
|
|
|
if (quirks->has_reset) {
|
|
|
- host->rst = devm_reset_control_get_optional(&pdev->dev, NULL);
|
|
|
+ host->rst = devm_reset_control_get_optional_exclusive(&pdev->dev,
|
|
|
+ NULL);
|
|
|
if (IS_ERR(host->rst) && PTR_ERR(host->rst) == -EPROBE_DEFER) {
|
|
|
ret = -EPROBE_DEFER;
|
|
|
dev_err(&pdev->dev, "Failed to get reset: %d\n", ret);
|