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:
John Galt 2025-02-07 11:51:45 -05:00 committed by DigiGoon
parent c165248466
commit b226c659cb

View file

@ -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() {