ipa: rkisp1: Downgrade sensor controls range message to Debug

There's no need to print the exposure and gain control ranges as an Info
message. Downgrade it to Debug. While at it, print the ranges using the
"[min, max]" syntax.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Laurent Pinchart 2022-10-19 02:52:22 +03:00
parent f08b18ebe9
commit 376adeb7b7

View file

@ -233,9 +233,9 @@ int IPARkISP1::configure([[maybe_unused]] const IPACameraSensorInfo &info,
int32_t minGain = itGain->second.min().get<int32_t>();
int32_t maxGain = itGain->second.max().get<int32_t>();
LOG(IPARkISP1, Info)
<< "Exposure: " << minExposure << "-" << maxExposure
<< " Gain: " << minGain << "-" << maxGain;
LOG(IPARkISP1, Debug)
<< "Exposure: [" << minExposure << ", " << maxExposure
<< "], gain: [" << minGain << ", " << maxGain << "]";
/* Clear the IPA context before the streaming session. */
context_.configuration = {};