Source
257
257
258
258
timer_pdev = of_find_device_by_node(timer);
259
259
if (!timer_pdev) {
260
260
dev_err(&pdev->dev, "Unable to find Timer pdev\n");
261
261
ret = -ENODEV;
262
262
goto put;
263
263
}
264
264
265
265
timer_pdata = dev_get_platdata(&timer_pdev->dev);
266
266
if (!timer_pdata) {
267
-
dev_err(&pdev->dev, "dmtimer pdata structure NULL\n");
268
-
ret = -EINVAL;
267
+
dev_dbg(&pdev->dev,
268
+
"dmtimer pdata structure NULL, deferring probe\n");
269
+
ret = -EPROBE_DEFER;
269
270
goto put;
270
271
}
271
272
272
273
pdata = timer_pdata->timer_ops;
273
274
274
275
if (!pdata || !pdata->request_by_node ||
275
276
!pdata->free ||
276
277
!pdata->enable ||
277
278
!pdata->disable ||
278
279
!pdata->get_fclk ||