commit | a329bbe707cee2cf8c660890ef2ad0d00ec7e8a3 | [log] [tgz] |
---|---|---|
author | Anson Huang <anson.huang@nxp.com> | Sat Feb 23 03:18:25 2019 +0000 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Feb 25 13:42:46 2019 +0100 |
tree | e62ccaf8b7ce2ea9d9c7a397dceee4edca319cc8 | |
parent | af39459b896d732dd0ff9ef00ee59fe4ef6d1981 [diff] |
gpio: mxc: add check to return defer probe if clock tree NOT ready On i.MX8MQ platform, clock driver uses platform driver model and it is probed after GPIO driver, so when GPIO driver fails to get clock, it should check the error type to decide whether to return defer probe or just ignore the clock operation. Fixes: 2808801aab8a ("gpio: mxc: add clock operation") Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>