When dev_err_probe() is called, 'ret' holds the value of the previous
successful devm_request_irq() call.
'ret' should be assigned with a meaningful value before being used in
dev_err_probe().
While at it, use and return "PTR_ERR(ctrl->clk)" instead of a hard-coded
"-ENOENT" so that -EPROBE_DEFER is handled and propagated correctly.
Fixes:
|
||
|---|---|---|
| .. | ||
| fb | ||
| hw | ||
| panel | ||
| Kconfig | ||
| Makefile | ||
| core.c | ||