Comment 153 for bug 1728244

Revision history for this message
Olivier Fock (fpolive) wrote :

Hans,

- I compiled a fresh 4.14-rc8 vanilla kernel and touchpad didn't work.

After applied this patch (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/base?h=v4.14-rc7&id=0cc2b4e5a020fc7f4d1795741c116c983e9467d7), the touchpad worked again !

To compile, I need to add "#define PM_QOS_RESUME_LATENCY_NO_CONSTRAINT S32_MAX" in somes files. I didn't modify .h file dependency.

$ grep -ri S32_MAX *
base/power/qos.c:#define PM_QOS_RESUME_LATENCY_NO_CONSTRAINT S32_MAX
base/power/sysfs.c:#define PM_QOS_RESUME_LATENCY_NO_CONSTRAINT S32_MAX
base/power/domain_governor.c:#define PM_QOS_RESUME_LATENCY_NO_CONSTRAINT S32_MAX
base/cpu.c:#define PM_QOS_RESUME_LATENCY_NO_CONSTRAINT S32_MAX

Note, the unmodified file regmap.c contains this line :
if (map->max_raw_write && map->max_raw_write > val_len)