mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 09:39:39 +00:00
Update i2c device paths with static bus numbers. Also remove some redundant paths. Bug: 323447554 Test: Boot to home Change-Id: Id3f0fccd39b70d247c0d7a17a1944223619ec40e
7 lines
179 B
Bash
7 lines
179 B
Bash
#!/vendor/bin/sh
|
|
|
|
max77759tcpc_path=/sys/devices/platform/10d60000.hsi2c/i2c-13/13-0025
|
|
if [ -d $max77759tcpc_path ]; then
|
|
echo 0 > $max77759tcpc_path/contaminant_detection;
|
|
fi
|