mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
8c58f51ff3
There are several issues in the probe function:
1) of_iomap() return NULL on error but the code checks for error
pointers.
2) pinctrl_register() is the reverse. It returns error pointers
but the code checks for NULL.
3) The error paths need to call iounmap(data->base) before returning
to avoid a resource leak.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pinctrl-rtd1315e.c | ||
pinctrl-rtd1319d.c | ||
pinctrl-rtd1619b.c | ||
pinctrl-rtd.c | ||
pinctrl-rtd.h |