[libcamera-devel] libcamera: camera_manager: Remove \todo on hotplug/unplug of cameras
diff mbox series

Message ID 20210316062004.59692-1-email@uajain.com
State Accepted
Headers show
Series
  • [libcamera-devel] libcamera: camera_manager: Remove \todo on hotplug/unplug of cameras
Related show

Commit Message

Umang Jain March 16, 2021, 6:20 a.m. UTC
Fixes: e9b47217b44c ("libcamera: camera_manager: Introduce signals when a camera is added or removed")
Signed-off-by: Umang Jain <email@uajain.com>
---
 src/libcamera/camera_manager.cpp | 4 ----
 1 file changed, 4 deletions(-)

Comments

Kieran Bingham March 16, 2021, 9:29 a.m. UTC | #1
On 16/03/2021 06:20, Umang Jain wrote:
> Fixes: e9b47217b44c ("libcamera: camera_manager: Introduce signals when a camera is added or removed")

Indeed, we have hotplug notifiers now.

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> Signed-off-by: Umang Jain <email@uajain.com>
> ---
>  src/libcamera/camera_manager.cpp | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/src/libcamera/camera_manager.cpp b/src/libcamera/camera_manager.cpp
> index 67641a55..8682cbcd 100644
> --- a/src/libcamera/camera_manager.cpp
> +++ b/src/libcamera/camera_manager.cpp
> @@ -251,10 +251,6 @@ void CameraManager::Private::removeCamera(Camera *camera)
>   * action from the application. Once the application has released all the
>   * references it held to cameras, the camera manager can be stopped with
>   * stop().
> - *
> - * \todo Add interface to register a notification callback to the user to be
> - * able to inform it new cameras have been hot-plugged or cameras have been
> - * removed due to hot-unplug.
>   */
>  
>  CameraManager *CameraManager::self_ = nullptr;
>
Laurent Pinchart April 7, 2021, 3:55 p.m. UTC | #2
Hi Umang,

Thank you for the patch.

On Tue, Mar 16, 2021 at 11:50:04AM +0530, Umang Jain wrote:
> Fixes: e9b47217b44c ("libcamera: camera_manager: Introduce signals when a camera is added or removed")
> Signed-off-by: Umang Jain <email@uajain.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  src/libcamera/camera_manager.cpp | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/src/libcamera/camera_manager.cpp b/src/libcamera/camera_manager.cpp
> index 67641a55..8682cbcd 100644
> --- a/src/libcamera/camera_manager.cpp
> +++ b/src/libcamera/camera_manager.cpp
> @@ -251,10 +251,6 @@ void CameraManager::Private::removeCamera(Camera *camera)
>   * action from the application. Once the application has released all the
>   * references it held to cameras, the camera manager can be stopped with
>   * stop().
> - *
> - * \todo Add interface to register a notification callback to the user to be
> - * able to inform it new cameras have been hot-plugged or cameras have been
> - * removed due to hot-unplug.
>   */
>  
>  CameraManager *CameraManager::self_ = nullptr;

Patch
diff mbox series

diff --git a/src/libcamera/camera_manager.cpp b/src/libcamera/camera_manager.cpp
index 67641a55..8682cbcd 100644
--- a/src/libcamera/camera_manager.cpp
+++ b/src/libcamera/camera_manager.cpp
@@ -251,10 +251,6 @@  void CameraManager::Private::removeCamera(Camera *camera)
  * action from the application. Once the application has released all the
  * references it held to cameras, the camera manager can be stopped with
  * stop().
- *
- * \todo Add interface to register a notification callback to the user to be
- * able to inform it new cameras have been hot-plugged or cameras have been
- * removed due to hot-unplug.
  */
 
 CameraManager *CameraManager::self_ = nullptr;