diff options
author | Roderick Colenbrander <roderick.colenbrander@sony.com> | 2017-03-08 02:45:06 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-03-21 17:11:56 +0300 |
commit | f2f47c385d2babf44cbd2ec2be4f2b29b88041bc (patch) | |
tree | 0c5017bdf76ae445cecca101764d7772d14cedaf /drivers/char/apm-emulation.c | |
parent | b53227360dc2e30fb8809815dfdc39339a34b8dd (diff) | |
download | linux-f2f47c385d2babf44cbd2ec2be4f2b29b88041bc.tar.xz |
HID: sony: Support motion sensor calibration on dongle
The DualShock 4 dongle isn't connected to a real DualShock 4 at
time of driver loading. When a DualShock 4 is plugged in, we
need to obtain calibration data (the dongle would have zeros).
This patch adds calibration logic, which we schedule on a hotplug
from sony_raw_event. In addition this patch adds dongle state
handling.
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/char/apm-emulation.c')
0 files changed, 0 insertions, 0 deletions