Re: [PATCH 2/4] Input: silead_gsl1680: gpiod_get returning -EBUSY is not an error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We could simply make the gpio completely optional by doing:

Then we don't end up ugly-fying the silead.c code...

I remember vaguely that this will make the driver useless in many cases.

Some DSDTs I've seen have ACPI PM functions that handle the GPIO lines, and I tried calling them instead of managing the GPIO directly. This did not appear to work, but maybe I did it wrong.

See here: https://github.com/onitake/gslx680-acpi/blob/master/gslx680_ts_acpi.c#L571 And this is what's supposed to be called: https://github.com/onitake/gslx680-acpi/blob/master/acpi/gsl-dsdt.aml#L12
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux