Re: i2c-designware: sound and s2ram broken on Broadwell-U system since commit ca382f5b38f367b6 (add i2c gpio recovery option)

From: Andy Shevchenko
Date: Sat Feb 17 2018 - 10:03:19 EST


On Sat, 2018-02-17 at 14:25 +0100, Dominik Brodowski wrote:

> on v4.16-rc1+, sound does not work any more on my Dell XPS 13;
> suspend-to-RAM hangs as well. I have bisected this problem down to
> commit ca382f5b38f3; reverting this on top of Linus' latest
> (1e3510b2b053)
> fixes these issues.

> And a few snippets from a broken kernel dmesg:
>
> i2c_designware: probe of INT3432:00 failed with error -38
> i2c_designware: probe of INT3433:00 failed with error -38

ENOSYS here at probe time, taking into account the commit you think is a
culprit, can be passed from gpiod_get() calls only.

> Ideas on how to fix this properly?

Enable CONFIG_DEBUG_GPIO first and share through some service the dmesg.
(it might be good idea to add 'ignore_loglevel initcall_debug' to the
kernel command line)

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy