libcamera: request: Fix documentation of controls() method

The documentation of the controls() method refers to the methods
ControlList::operator[]() and ControlList::update(), which do not exist.

Instead refer to ControlList::get() and ControlList::set() to achieve a
similar documentation.

Fixes: a8c40942b9 ("libcamera: controls: Improve the API towards applications")
Signed-off-by: Marian Cichy <m.cichy@pengutronix.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Marian Cichy 2021-03-18 15:11:24 +01:00 committed by Laurent Pinchart
parent 79b48225ad
commit f908d49cce

View file

@ -138,8 +138,8 @@ void Request::reuse(ReuseFlag flags)
* *
* Requests store a list of controls to be applied to all frames captured for * Requests store a list of controls to be applied to all frames captured for
* the request. They are created with an empty list of controls that can be * the request. They are created with an empty list of controls that can be
* accessed through this method and updated with ControlList::operator[]() or * accessed through this method. Control values can be retrieved using
* ControlList::update(). * ControlList::get() and updated using ControlList::set().
* *
* Only controls supported by the camera to which this request will be * Only controls supported by the camera to which this request will be
* submitted shall be included in the controls list. Attempting to add an * submitted shall be included in the controls list. Attempting to add an