sm8250-common: tri-state-key: Add hall sensor calibration support

Change-Id: I8449041eec5c8ab4153bd2942ebc7fda9ceb743e
This commit is contained in:
Hikari-no-Tenshi 2019-11-14 10:32:07 +02:00 committed by LuK1337
commit 19525f89df
5 changed files with 22 additions and 0 deletions

View file

@ -5,3 +5,9 @@ init_daemon_domain(tri-state-key_daemon)
allow tri-state-key_daemon uhid_device:chr_file rw_file_perms;
allow tri-state-key_daemon self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
allow tri-state-key_daemon sysfs_tri_state_key:file w_file_perms;
allow tri-state-key_daemon mnt_vendor_file:dir search;
r_dir_file(tri-state-key_daemon, oem_file)