Re: [PATCHv2 1/2] Input: pwm-vibra: new driver

From: Tony Lindgren
Date: Wed May 03 2017 - 20:40:05 EST


* Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxxxx> [170503 04:14]:
> Provide a simple driver for PWM controllable vibrators. It
> will be used by Motorola Droid 4.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxxxx>
> ---
> Changes since PATCHv1:
> - move driver removal code to input->close function
> - mark PM functions __maybe_unused and drop #ifdef CONFIG_PM_SLEEP
> - remove duplicate NULL check for vibrator in probe function
> - cancel work in suspend function

I'm getting this if CONFIG_INPUT_FF_MEMLESS is not selected:

ERROR: "input_ff_create_memless" [drivers/input/misc/pwm-vibra.ko] undefined!

Other than that works for me with your test app after
modprobe of pwm-omap-dmtimer and ff_memless:

Tested-by: Tony Lindgren <tony@xxxxxxxxxxx>