commit | d1fa74520dcdbeae891b30035e6c51aafa35306d | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Sat Feb 17 22:58:43 2018 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Feb 22 12:15:35 2018 +0100 |
tree | 1f448d5bde7c90742cdd63e2cbfc5a3cffe95854 | |
parent | c396b9a03e3bb5e95e036bdb0c7d614e0e1a4e3d [diff] |
i2c: designware: Consider SCL GPIO optional GPIO library can return -ENOSYS for the failed request. Instead of failing ->probe() in this case override error code to 0. Fixes: ca382f5b38f3 ("i2c: designware: add i2c gpio recovery option") Reported-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>