libcamera: camera_sensor: Drop updateControlInfo() function

The CameraSensor::updateControlInfo() function is a wrapper around the
same function of the V4L2Subdevice class. It was meant to be called by
pipeline handlers that modify the sensor configuration directly,
bypassing the CameraSensor::setFormat() function. This never happened,
and the function is called once only, internally to the CameraSensor
class. No external users are foreseen, drop the function and call
V4L2Subdevice::updateControlInfo() directly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2024-02-09 11:49:56 +02:00
parent 2a0baf47eb
commit 9b1a2a8c8b
2 changed files with 2 additions and 20 deletions

View file

@ -75,8 +75,6 @@ public:
const ControlList &properties() const { return properties_; }
int sensorInfo(IPACameraSensorInfo *info) const;
void updateControlInfo();
CameraLens *focusLens() { return focusLens_.get(); }
Transform computeTransform(Orientation *orientation) const;