summaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2017-03-24 15:17:49 -0700
committerSiarhei Vishniakou <svv@google.com>2019-11-07 11:15:26 -0600
commit8c31af1b4a4c900fbd500ac58cd8c8b49103b542 (patch)
tree1197b1d243b89718ce2ece3a30c6eb5ba76e0d6a /kernel/locking/mutex-debug.c
parent2e196b869bd082b8fce58854b6d9c9a170d9e7d9 (diff)
UPSTREAM: HID: sony: Make DS4 bt poll interval adjustable
By default when using bluetooth the DS4 reports data at about 1kHz, which is quite fast especially on weak devices. We now make the device use the USB poll interval, which is a fixed 4ms. In addition we make the value adjustable through sysfs. The error handling in sony_input_configured is a little tricky. It is not easy to add other goto's as not all codepaths have logic for adding this attribute. Luckily we are setting the value for the attribute to a default value, so we can use that to detect if we need to remove the file. Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> (cherry picked from commit 77b499e739ed5561e5026fa7140ae53f6c4d1d8e) Bug: 111431828 Signed-off-by: Kim Low <kim-huei.low@sony.com> Change-Id: I9c384d5512173c3fe10191e91143cd966d63578e Signed-off-by: Siarhei Vishniakou <svv@google.com>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions