Re: sdhci driver card-detect is broken because gpiolib can't fallback to _CRS?

From: Linus Walleij
Date: Fri Sep 28 2018 - 04:42:22 EST

On Thu, Sep 27, 2018 at 7:57 PM Rajat Jain <rajatja@xxxxxxxxxx> wrote:

> > Patches are welcome, I think.
> >
> > Btw, is there any existing hardware on the market with such BIOS?
> Yes, all the chrome books available in the market (at least the ones
> released in last 3 years) have same ACPI layout (provide _DSD for
> card-detect). They are all working fine today because they use an
> older kernel, but if we update them to the latest kernel, this part
> will be broken.

This is not looking good at all.

Andy should we revert the patch or do you have some other
quick fix in mind we could do? It seems reverting the patch
could be bad for the mctrl patches IIUC, but this regression
seems even more serious.

Linus Walleij