summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ac100.c
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2017-03-08 02:45:06 +0300
committerJiri Kosina <jkosina@suse.cz>2017-03-21 17:11:56 +0300
commitf2f47c385d2babf44cbd2ec2be4f2b29b88041bc (patch)
tree0c5017bdf76ae445cecca101764d7772d14cedaf /drivers/rtc/rtc-ac100.c
parentb53227360dc2e30fb8809815dfdc39339a34b8dd (diff)
downloadlinux-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/rtc/rtc-ac100.c')
0 files changed, 0 insertions, 0 deletions