sm8350-common: CameraProvider: set saner values
1500 is WAAAAY too high on haydn. Set max to a saner of 750. Also prior to this change, 80 was default for torch, so set 80 as default.
This commit is contained in:
parent
c165248466
commit
b226c659cb
1 changed files with 2 additions and 2 deletions
|
|
@ -43,14 +43,14 @@ bool supportsSetTorchModeExt() {
|
|||
}
|
||||
|
||||
int32_t getTorchDefaultStrengthLevelExt() {
|
||||
return 50;
|
||||
return 80;
|
||||
}
|
||||
|
||||
int32_t getTorchMaxStrengthLevelExt() {
|
||||
// In our device, both LEDs has same maximum value
|
||||
// so get from one.
|
||||
auto node = kTorchLedPath + "/" + TORCH_MAX_BRIGHTNESS;
|
||||
return get(node, 0);
|
||||
return 750;
|
||||
}
|
||||
|
||||
int32_t getTorchStrengthLevelExt() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue