6b2bed8912
The devm_ioremap_resource() returns error pointers, never NULL. The
platform_get_resource() returns NULL on error, never error pointers.
The error code needs to be set, as well. The current code returns
PTR_ERR(NULL) which is success.
Fixes:
|
||
---|---|---|
.. | ||
hva-h264.c | ||
hva-hw.c | ||
hva-hw.h | ||
hva-mem.c | ||
hva-mem.h | ||
hva-v4l2.c | ||
hva.h | ||
Makefile |