Show a patch.

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

{
    "id": 15156,
    "url": "https://patchwork.libcamera.org/api/patches/15156/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15156/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20211213232849.40071-2-djrscally@gmail.com>",
    "date": "2021-12-13T23:28:45",
    "name": "[libcamera-devel,1/5] media: media.h: Add new media link type",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "f4bbc0772faa15a368313fd0c9f99d1f6954a0c6",
    "submitter": {
        "id": 90,
        "url": "https://patchwork.libcamera.org/api/people/90/?format=api",
        "name": "Daniel Scally",
        "email": "djrscally@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/15156/mbox/",
    "series": [
        {
            "id": 2843,
            "url": "https://patchwork.libcamera.org/api/series/2843/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2843",
            "date": "2021-12-13T23:28:44",
            "name": "Introduce ancillary links",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2843/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15156/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15156/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 85AF6C324B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 13 Dec 2021 23:29:09 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 17D8960897;\n\tTue, 14 Dec 2021 00:29:08 +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 B455060822\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Dec 2021 00:29:05 +0100 (CET)",
            "by mail-wm1-x331.google.com with SMTP id o29so13113904wms.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 13 Dec 2021 15:29:05 -0800 (PST)",
            "from localhost.localdomain\n\t(cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net. [86.13.91.161])\n\tby smtp.gmail.com with ESMTPSA id\n\t38sm12551643wrc.1.2021.12.13.15.29.04\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 13 Dec 2021 15:29:05 -0800 (PST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"VZod9lOQ\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=px9+XC6KILpCFM/OBYzEGce6h7w6qpwXedz3WqQ/Q80=;\n\tb=VZod9lOQ40o1ezWVX5HyjyqmpmA8PWijZ6IzFH4CN6RghiQMhZK8vw6JDF0dWKCEsu\n\tFjBBkscMre4fu1mki2OOf7pfwKyhW3gOic+8dWgU+Vl9V3HYTfUxg7bv9gvzDtO2zk+3\n\tep6kHOFZmqmt/spw3cets6Tx+shhO7Ti9F/tNn/mtxvM0m8C/SMuN9JRSIKRcFQSwDPT\n\tJVKKHnRor7dF/fAuoKWnWsknVR3bBUnw5gXhcSnlpU0UOXGAKK4tXIzBfKE4jgWbz/MZ\n\tbo+O87sWlHuBH/MnAgce8dAnyQUmycE0vW0SfCUoUUOq+eYJiGRSfw3pJWMTwgp+ZVdL\n\tOK0g==",
        "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=px9+XC6KILpCFM/OBYzEGce6h7w6qpwXedz3WqQ/Q80=;\n\tb=FO3IFgmS9QhY4m33QFlU6L82ULsui08tnMaqpIUxMST5chF78RgQlZ39Dc2Zp8b8LB\n\tJvLJG0x7yt198JooKrhpI33qcCGsT3UlBOsgpZRVdHKPTfwbQEGCS5U5jWQVKFYpfNBT\n\tezJbcaxWgXteDE1F3jD4kZI7KGIjnDyD2uNGFxtE3ND7JLiu8HtmInUUTpotgOM1NI44\n\tUlAaR4tZzaBR5G12V4PqAVJAcBiyXgKJNsXUUJUce12bfy+XhQN0+aaoVlocjtYjyvN6\n\tieQnoaF4cFHITdSt9dzuTLAO3kbF5y85QS7QEg0C5WwsTMCv0r9P+Fl1bNgS5py1CSBT\n\tQ0jw==",
        "X-Gm-Message-State": "AOAM5338Siqwf7K+A/Yyialp1Kxm+RRxED65JBVNAUOxG+GAk0eGsDKE\n\tdgrE/H4IBQwJ/S/enIaKMwk=",
        "X-Google-Smtp-Source": "ABdhPJz0KF9cuTi+crVmS7GsbqpsTa7cz32Fux5g2fB7CyUR6msG62eWJ1Vxv4nXxICFvIz/FwlkGA==",
        "X-Received": "by 2002:a1c:7517:: with SMTP id\n\to23mr40854236wmc.172.1639438145465; \n\tMon, 13 Dec 2021 15:29:05 -0800 (PST)",
        "From": "Daniel Scally <djrscally@gmail.com>",
        "To": "linux-media@vger.kernel.org,\n\tlibcamera-devel@lists.libcamera.org",
        "Date": "Mon, 13 Dec 2021 23:28:45 +0000",
        "Message-Id": "<20211213232849.40071-2-djrscally@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211213232849.40071-1-djrscally@gmail.com>",
        "References": "<20211213232849.40071-1-djrscally@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 1/5] media: media.h: Add new media link\n\ttype",
        "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>",
        "Cc": "sakari.ailus@linux.intel.com",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "To describe in the kernel the connection between devices and their\nsupporting peripherals (for example, a camera sensor and the vcm\ndriving the focusing lens for it), add a new type of media link\nto introduce the concept of these ancillary links.\n\nSigned-off-by: Daniel Scally <djrscally@gmail.com>\n---\nchanges since the rfc:\n\n\t- Split out into its own patch (mostly so it can be followed by patch\n\t#3, which corrects some media-core code that is otherwise broken by the\n\tnew links)\n\n include/uapi/linux/media.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h\nindex 200fa8462b90..afbae7213d35 100644\n--- a/include/uapi/linux/media.h\n+++ b/include/uapi/linux/media.h\n@@ -226,6 +226,7 @@ struct media_pad_desc {\n #define MEDIA_LNK_FL_LINK_TYPE\t\t\t(0xf << 28)\n #  define MEDIA_LNK_FL_DATA_LINK\t\t(0 << 28)\n #  define MEDIA_LNK_FL_INTERFACE_LINK\t\t(1 << 28)\n+#  define MEDIA_LNK_FL_ANCILLARY_LINK\t\t(2 << 28)\n \n struct media_link_desc {\n \tstruct media_pad_desc source;\n",
    "prefixes": [
        "libcamera-devel",
        "1/5"
    ]
}