vayu: Update batterysecret USB data role sysfs path for kernel 4.19

Dual role is removed on kernel 4.19 so update the path
on kernel 4.14:
	/sys/class/dual_role_usb/otg_default/data_role
on kernel 4.19:
	/sys/class/typec/port0/data_role

Change-Id: I1b0eecc78e41e61b7217ee88bb7391881b01cbde
Signed-off-by: duckyduckg <duckyduckg65@gmail.com>
This commit is contained in:
duckyduckg authored and duckyduckg committed 2026-10-01 09:04:43 +05:00
1 parent 2e9b9c977e
commit 51136f4209
1 file changed
Vendored Regular → Executable
BIN
View File
Binary file not shown.