Update i2c device paths with static bus numbers. Also remove some redundant paths. Bug: 323447554 Test: Boot to home Change-Id: Id3f0fccd39b70d247c0d7a17a1944223619ec40e
6 lines
179 B
Bash
6 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
|