linux-surface / linux-surface

Linux Kernel for Surface Devices
4.53k stars 202 forks source link

pkg/arch: Do not build in serial drivers #1430

Open qzed opened 2 weeks ago

qzed commented 2 weeks ago

Since https://github.com/linux-surface/kernel/pull/152 we should not require the serial drivers to be built in any more. In essence, the PR causes the SAM driver to return EPROBE_DEFER when the serial device is not ready.

Specifics on how to best handle this (i.e., which function should actually return EPROBE_DEFER) are still to be determined, but for now https://github.com/linux-surface/kernel/pull/152 should provide a better workaround that (at least in theory and based on limited testing) fixes this problem as well. So let's test if this holds up in practice.

qzed commented 2 weeks ago

Good idea. Done.