Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fe29222 authored by YiHo Cheng's avatar YiHo Cheng
Browse files

thermal: Remove camera-critical tz

The sensor offset was introduced to resolve the correlation impact for
camera use cases so camera-critical tz is not required anymore.

Bug: 160294041
Test: check if camera-critical tz was removed.
Change-Id: I3a28e8d8f4619685d843a3a6d815bf3b272a0776
parent 500b0647
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ on property:persist.vendor.disable.thermal.control=1
  write /sys/devices/virtual/thermal/tz-by-name/skin-therm-cpu/mode disabled
  write /sys/devices/virtual/thermal/tz-by-name/skin-therm-monitor/mode disabled
  write /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/mode disabled
  write /sys/devices/virtual/thermal/tz-by-name/camera-critical/mode disabled
  write /sys/devices/virtual/thermal/tz-by-name/cellular-emergency/mode disabled
  write /sys/devices/virtual/thermal/tz-by-name/sdm-therm/mode disabled
  write /sys/devices/virtual/thermal/tz-by-name/usbc-therm-adc/mode disabled
@@ -31,7 +30,6 @@ on property:persist.vendor.disable.thermal.control=0
  write /sys/devices/virtual/thermal/tz-by-name/skin-therm-cpu/mode enabled
  write /sys/devices/virtual/thermal/tz-by-name/skin-therm-monitor/mode enabled
  write /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/mode enabled
  write /sys/devices/virtual/thermal/tz-by-name/camera-critical/mode enabled
  write /sys/devices/virtual/thermal/tz-by-name/cellular-emergency/mode enabled
  write /sys/devices/virtual/thermal/tz-by-name/sdm-therm/mode enabled
  write /sys/devices/virtual/thermal/tz-by-name/usbc-therm-adc/mode enabled
+0 −25
Original line number Diff line number Diff line
@@ -295,31 +295,6 @@
            "Multiplier":0.001,
            "Monitor":true
        },
        {
            "Name":"camera-critical",
            "Type":"UNKNOWN",
            "HotThreshold":[
                "NAN",
                "37.0",
                "41.0",
                "43.0",
                "46.5",
                "51.0",
                "55.0"
            ],
            "HotHysteresis":[
                0.0,
                1.9,
                1.9,
                1.9,
                1.9,
                1.9,
                1.9
            ],
            "VrThreshold":"NAN",
            "Multiplier":0.001,
            "Monitor":true
        },
        {
            "Name":"sdm-therm",
            "Type":"UNKNOWN",