|
@@ -1561,7 +1561,9 @@ static int fe_probe(struct platform_device *pdev)
|
|
|
struct clk *sysclk;
|
|
struct clk *sysclk;
|
|
|
int err, napi_weight;
|
|
int err, napi_weight;
|
|
|
|
|
|
|
|
- device_reset(&pdev->dev);
|
|
|
|
|
|
|
+ err = device_reset(&pdev->dev);
|
|
|
|
|
+ if (err)
|
|
|
|
|
+ dev_err(&pdev->dev, "failed to reset device\n");
|
|
|
|
|
|
|
|
match = of_match_device(of_fe_match, &pdev->dev);
|
|
match = of_match_device(of_fe_match, &pdev->dev);
|
|
|
soc = (struct fe_soc_data *)match->data;
|
|
soc = (struct fe_soc_data *)match->data;
|