From patchwork Wed Aug 5 15:14:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 9225 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id EFC17BD86F for ; Wed, 5 Aug 2020 15:14:47 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2155760599; Wed, 5 Aug 2020 17:14:47 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=uajain.com header.i=@uajain.com header.b="PpBBu7uZ"; dkim-atps=neutral Received: from o1.f.az.sendgrid.net (o1.f.az.sendgrid.net [208.117.55.132]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0FF2E60599 for ; Wed, 5 Aug 2020 17:14:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uajain.com; h=from:subject:mime-version:to:cc:content-transfer-encoding: content-type; s=s1; bh=ySPvL4GZ+ytF83o9cx6whUXiC1MdnIwrUttZv3i7vyE=; b=PpBBu7uZvLJ0lfQ4upeP0sI6B1U4U314bSTO9b8yOTA2DL3TmCAqLa4HyEofVXeH4K9+ fA8PrF3SO6d4fbYUj/g2gl1ZgXgNKJCdR9mQBShiFbOrVWPZUief4Wk69n9PD4uq0Y4wtg 1oG8zz9eGavnaNx3TgrM9CYofrsZAdjIA= Received: by filterdrecv-p3las1-559bd7b968-p2tbq with SMTP id filterdrecv-p3las1-559bd7b968-p2tbq-17-5F2ACCE2-11F 2020-08-05 15:14:42.954410846 +0000 UTC m=+593913.622356891 Received: from mail.uajain.com (unknown) by ismtpd0007p1hnd1.sendgrid.net (SG) with ESMTP id kGQTKX7CSNG7tdOBio80hg for ; Wed, 05 Aug 2020 15:14:42.539 +0000 (UTC) From: Umang Jain Date: Wed, 05 Aug 2020 15:14:42 +0000 (UTC) Message-Id: <20200805151437.157155-1-email@uajain.com> Mime-Version: 1.0 X-SG-EID: 1Q40EQ7YGir8a9gjSIAdTjhngY657NMk9ckeo4dbHZDiOpywc/L3L9rFqlwE4KPcp6CL6ozs3IeZvk96OtB41Cp+v52WauwMS2U22DNdBhXeO65JohYRGNFv/3BUcSBnc3e2/3i6DllHZ+wf5EptftrnJFHWz6vn5NukcSAuKfBEEYuboESOh15mp2X4lH/ENWmQhXVsd4U3u1YfUtcFaKr2UabKdthXzjgSKQaE56zR6/PEcvTv44JvzrVDepKxXwgghRgdnNZy9sDm2RU/OQ== To: libcamera-devel@lists.libcamera.org Subject: [libcamera-devel] [PATCH 0/2] android: Camera hotplug support X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This patch series extend the camera hotplug support for android layer. The series is brought till a point, where chrome:://media-internals "Video Capture" tab reacts to camera hotplug or unplug from the system. Umang Jain (2): android: camera_hal_manager: Set camera module callbacks android: camera_hal_manager: Support camera hotplug src/android/camera3_hal.cpp | 2 +- src/android/camera_device.h | 1 + src/android/camera_hal_manager.cpp | 47 ++++++++++++++++++++++++++++-- src/android/camera_hal_manager.h | 6 ++++ 4 files changed, 53 insertions(+), 3 deletions(-)