Motor: add handling freq, overdrive param on ff effect 95/233195/1
authorjeongsup.jeong <jeongsup.jeong@samsung.com>
Mon, 22 Jul 2019 09:39:34 +0000 (18:39 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 7 May 2020 06:18:16 +0000 (15:18 +0900)
commit960c7756fc815dfecbbfdf26e7b9174b8e98d2d2
tree257e7de4ebe38d3afee77dcd1b2f51296afeb84f
parentee702ec4ad5c2335ff626f0c5ae7c71d45fd5328
Motor: add handling freq, overdrive param on ff effect

In order to handle the motor behavior in details,
add new 'frequency' and 'overdrive' parameter for ff (force feedback) effect.

Use the existing 'struct ff_runbm_effect' without any added variable
to pass the user data to input device driver of kernel.

Change-Id: I09a920efe80babaf9e758918ab870dab62c7611b
Signed-off-by: jeongsup.jeong <jeongsup.jeong@samsung.com>
[cw00.choi: Add commit-msg as public style and fix the merge conflict]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/motor/ztm620_motor.c
include/linux/ztm620_motor.h