HomeFreeBSD

psm: Don't try to detect trackpoint packets if the Elantech device has none

Description

psm: Don't try to detect trackpoint packets if the Elantech device has none

This fixes a panic when EVDEV_SUPPORT is enabled: if a trackpoint
packet was detected but there was no trackpoint, we still tried to emit an
evdev event even though the associated relative evdev device (evdev_r)
was not initialized.

PR: 225339
MFC after: 1 week

Details

Provenance
dumbbellAuthored on
Parents
rS328190: psm: Skip sync check when `PSM_CONFIG_NOCHECKSYNC` is set
Branches
Unknown
Tags
Unknown