Commits
![Marek Vasut](https://secure.gravatar.com/avatar/20436c1fea16fd3e715321d023303147.jpg?s=96&d=mm)
Marek Vasut committed 70728c29465
gpio: syscon: Fix possible NULL ptr usage The priv->data->set can be NULL while flags contains GPIO_SYSCON_FEAT_OUT and chip->set is valid pointer. This happens in case the controller uses the default GPIO setter. Always use chip->set to access the setter to avoid possible NULL pointer dereferencing. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>