Show a patch.

GET /api/1.1/patches/15216/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 15216,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/15216/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15216/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20211223080110.9766-2-david.plowman@raspberrypi.com>",
    "date": "2021-12-23T08:01:08",
    "name": "[libcamera-devel,1/3] include: linux: Add V4L2_CID_NOTIFY_GAINS control",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "eb69d431d8afa4180c155427e3a6422825e9ae7a",
    "submitter": {
        "id": 42,
        "url": "https://patchwork.libcamera.org/api/1.1/people/42/?format=api",
        "name": "David Plowman",
        "email": "david.plowman@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/15216/mbox/",
    "series": [
        {
            "id": 2864,
            "url": "https://patchwork.libcamera.org/api/1.1/series/2864/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2864",
            "date": "2021-12-23T08:01:07",
            "name": "Make use of V4L2_CID_NOTIFY_GAINS",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2864/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15216/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15216/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 4BA1BBF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 23 Dec 2021 08:01:53 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id CD8F36090B;\n\tThu, 23 Dec 2021 09:01:52 +0100 (CET)",
            "from mail-wm1-x331.google.com (mail-wm1-x331.google.com\n\t[IPv6:2a00:1450:4864:20::331])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8EAFB608E9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 23 Dec 2021 09:01:49 +0100 (CET)",
            "by mail-wm1-x331.google.com with SMTP id g132so3097427wmg.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 23 Dec 2021 00:01:49 -0800 (PST)",
            "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\ta3sm4692730wri.98.2021.12.23.00.01.48\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 23 Dec 2021 00:01:48 -0800 (PST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"meQa8Mas\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=1QsZ86bS7xwdusxElYMZXbDSb1QXgHVtUoaZ6zHoxL4=;\n\tb=meQa8Mas+VGmExFWYetmUq2j9vr4iQERxhUJhOkgZTfJg8VqDw/Az7BKfzRk195Prj\n\t6wPgqfFFriulTzau193hY58zcJPkAYXhsVNTtg/gRlxAKXFWSPaV3Tx6rNwRulVEmBYY\n\tzl8zFtH8FHeMrX6pC/n2LDsnsBw0TfF1lpmhdNew+y0v94DUumN3FsswJlJyeM7S3oEI\n\tyX67iJ4BCEfbPgFiDhBpwTRgqNXlTiw0X75rjS5iQ5loOPeEKW9DpINFCvOe4trAFuvO\n\tkUMTowYlh4LzygPb9Cakcj5+KdYIks91juI1qfYniA3GClrbEvKm6zoX1iqUcWZJ9ebY\n\tQUXg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=1QsZ86bS7xwdusxElYMZXbDSb1QXgHVtUoaZ6zHoxL4=;\n\tb=W5sIg7ktTXlQc0jsvUUSrCqxK8CW1XXqjgIzYYq8uLDjW1mMKUPeynChYH3aaWk52a\n\tW6ogmKe/BM0VJOjdeQ65PdXMRk5r/fHxJ//07E88zmg1vTXFRMeZifh7QIYhHxsuuoEK\n\toFj52XQGsfG1rm2/YAEV2ungN40rncwtxAlB/Ch20+caA3SbJ+oxsmKrA9P+4g91m4T7\n\tuhXdU9kYWLaxEmNUOa7Lezl1X0vEo1g3P2+Imp64BW4CsKdFGp+ytBrtMGPgCvd4skWO\n\t5Gcn4NSwT28/Wje7mTLI17fmLSRdHyMFqiJ9A8d27V1pwZL9XdOu36yTr8Uvrx3SxFUf\n\tdcEw==",
        "X-Gm-Message-State": "AOAM5303XiO513rPT7f0Hf2VOEJGcFW6YQH84dcfoddewd6Dc++ARyHZ\n\tUU9rjZQ2CaT09xFU4R3Em42W4T0LXfwQ6w==",
        "X-Google-Smtp-Source": "ABdhPJwoswSGVibwNvMbwKvtEyTkQVV2+lknzt5tNy9bj1RfT9cygTWjC9JhnfhB1BI69pDZjwIoWQ==",
        "X-Received": "by 2002:a1c:ed07:: with SMTP id l7mr773617wmh.12.1640246509098; \n\tThu, 23 Dec 2021 00:01:49 -0800 (PST)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 23 Dec 2021 08:01:08 +0000",
        "Message-Id": "<20211223080110.9766-2-david.plowman@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20211223080110.9766-1-david.plowman@raspberrypi.com>",
        "References": "<20211223080110.9766-1-david.plowman@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 1/3] include: linux: Add\n\tV4L2_CID_NOTIFY_GAINS control",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Add this control which is already present upstream.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n include/linux/v4l2-controls.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/include/linux/v4l2-controls.h b/include/linux/v4l2-controls.h\nindex 59a57418..9db06cb2 100644\n--- a/include/linux/v4l2-controls.h\n+++ b/include/linux/v4l2-controls.h\n@@ -1109,6 +1109,7 @@ enum v4l2_jpeg_chroma_subsampling {\n #define V4L2_CID_TEST_PATTERN_BLUE\t\t(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 6)\n #define V4L2_CID_TEST_PATTERN_GREENB\t\t(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 7)\n #define V4L2_CID_UNIT_CELL_SIZE\t\t\t(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 8)\n+#define V4L2_CID_NOTIFY_GAINS\t\t\t(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 9)\n \n \n /* Image processing controls */\n",
    "prefixes": [
        "libcamera-devel",
        "1/3"
    ]
}