[PATCH 6.1 304/591] pinctrl:sunplus: Add check for kmalloc