get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2227719,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227719/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260424-pinctrl_irqchip_states-v1-1-85286f078916@oss.qualcomm.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260424-pinctrl_irqchip_states-v1-1-85286f078916@oss.qualcomm.com>",
    "date": "2026-04-24T06:31:24",
    "name": "pinctrl: qcom: Add irq_get/set_irqchip_state() for msm gpio irqchip",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7d06587a35372c5267dab7a4f163bdb41eb5f746",
    "submitter": {
        "id": 93246,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/93246/?format=api",
        "name": "Sneh Mankad",
        "email": "sneh.mankad@oss.qualcomm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260424-pinctrl_irqchip_states-v1-1-85286f078916@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 501309,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501309/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=501309",
            "date": "2026-04-24T06:31:24",
            "name": "pinctrl: qcom: Add irq_get/set_irqchip_state() for msm gpio irqchip",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501309/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227719/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227719/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-35454-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-gpio@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=Hqk6LNcp;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=Coo32nJ+;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-gpio+bounces-35454-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"Hqk6LNcp\";\n\tdkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"Coo32nJ+\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=205.220.180.131",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=oss.qualcomm.com"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g235m2pZ1z1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 16:31:56 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 18FD53015E3B\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 06:31:48 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id AED163537D4;\n\tFri, 24 Apr 2026 06:31:47 +0000 (UTC)",
            "from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D38B2C08AC\n\tfor <linux-gpio@vger.kernel.org>; Fri, 24 Apr 2026 06:31:46 +0000 (UTC)",
            "from pps.filterd (m0279870.ppops.net [127.0.0.1])\n\tby mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63NN3I4q1888410\n\tfor <linux-gpio@vger.kernel.org>; Fri, 24 Apr 2026 06:31:45 GMT",
            "from mail-pg1-f199.google.com (mail-pg1-f199.google.com\n [209.85.215.199])\n\tby mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dqp9du2pe-1\n\t(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n\tfor <linux-gpio@vger.kernel.org>; Fri, 24 Apr 2026 06:31:45 +0000 (GMT)",
            "by mail-pg1-f199.google.com with SMTP id\n 41be03b00d2f7-c797e31a9b7so8606363a12.1\n        for <linux-gpio@vger.kernel.org>;\n Thu, 23 Apr 2026 23:31:45 -0700 (PDT)",
            "from hu-smankad-hyd.qualcomm.com ([202.46.22.19])\n        by smtp.gmail.com with ESMTPSA id\n 41be03b00d2f7-c7977031729sm17754692a12.25.2026.04.23.23.31.40\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Thu, 23 Apr 2026 23:31:43 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777012307; cv=none;\n b=IFAddMEvrSTMFrbR8RN8irxGHKvn/BVNwmHnonfcHVwAJw+ZiKxAqBH39oSwG+rfM0OJW9EBJDSuxuzzFMCWhdH1vZ2iTiucbg0rlWWKGyZ3sWjvo2d2uUXl3xokuRwbiXYAZuKXofuZkfVoL3TlKYn4UQjAgsw8KUhftXg2lMA=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777012307; c=relaxed/simple;\n\tbh=zzvMqByL0RJuKYWie71DUYUH7s+eXERIngEuTBdypHs=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc;\n b=rZ8qsUvWTh9f7YywZhd0hl2ho3IjmyvM++EsVoQ5F9cT6tadhbnZvsgXbgAUlDYwpgZTDw2nTdlBj2yJFOzK9sM9kHD3UJ+lert/hUBRFajyglutnXUoOg+J4+52oVHZ9YXrYqcenrXuRgRW0X/hhirD6zGcZSN3fw2U49Nt4zY=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com;\n spf=pass smtp.mailfrom=oss.qualcomm.com;\n dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=Hqk6LNcp;\n dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=Coo32nJ+; arc=none smtp.client-ip=205.220.180.131",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n\tcc:content-transfer-encoding:content-type:date:from:message-id\n\t:mime-version:subject:to; s=qcppdkim1; bh=XCWQVhmsaS2QaLE3Q6kqx5\n\tj5JEt6MkVgu02k8sxgf8o=; b=Hqk6LNcp9iaVCCmLgmfYNfLRiLnchCODmXMjsu\n\tl81I9EJ46GvHoNq0VNJU2mF4ucCDa+Myh0ddojhpX55RAfTNxyy1W+YXpDht4hn+\n\tTwI0xuzSOBzjKzmx7C+HV+QW3LSLGZtJoZ15LlhF8ID7XOzOSqX2ut3OZUf/2A0H\n\tRHcaeXlNaTNmPIOIdG7I3DI6X47nRcOsLk3RVHKYdVDruvSA2aJZ2Jmn38rIK16T\n\tN8gD41yQTh79jQUZhzGnZuNPt+uLy87CoUlHU7NJCIIA3oD1r5sN0B6nzNkjy5B9\n\tE3Pkyw3hr3l3C4DKzLin27NVmvSwERBfPWi5/e3ngdZS02Kg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=oss.qualcomm.com; s=google; t=1777012304; x=1777617104;\n darn=vger.kernel.org;\n        h=cc:to:message-id:content-transfer-encoding:mime-version:subject\n         :date:from:from:to:cc:subject:date:message-id:reply-to;\n        bh=XCWQVhmsaS2QaLE3Q6kqx5j5JEt6MkVgu02k8sxgf8o=;\n        b=Coo32nJ+OA+81aHF58MxsAjapvuF8EHfjY4DMOfKEtREsxk4Blhe5AeHWknOSmSVKf\n         f0IpogkB+eyjvueLuo4OuviQSoDh6bbOZAkmu+8ItJXBl5X6jPHqc5ARDrDIgZKmEfQu\n         LlWww4dEbYePnu2kbnm37fHUPh0U1QxNrleQHa8EY2iqtC1FuZCHlms9PXFtVZctm7r4\n         nMiHP7CC5NZyXzuxIm/agnRwc2yxyAr8z+SsS6uFgE/IAEHMO/s9/5sbOj7Fr2q13Gay\n         Masf8qcbNrVMDsxWDcPt1Q11Ti4tMJzK8mf+Yyp9SKwfgfO7P0cTbGfnVXs4qbFk5XzM\n         khQQ=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1777012304; x=1777617104;\n        h=cc:to:message-id:content-transfer-encoding:mime-version:subject\n         :date:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=XCWQVhmsaS2QaLE3Q6kqx5j5JEt6MkVgu02k8sxgf8o=;\n        b=RfFwU0TI3ho8X/G6dQGCOEcIo6yCBybStIX3BnabOSTzBI+H1IyxMjj8pi+qum2vj9\n         DXct9gsG6ajhvRd4erGjyzZuHIX/7RT2lzLn5CTwr8/Wj5pDkByZfwlO5yOQlH3eS0yZ\n         TbTwz5FL7WFWPd3tzQqtxNOjFk3aaK+z3MxqT4QjF9VGQXd1caTuY5temR62LdqU5Pcl\n         psdW+WXTFvEdgMpxM7DeUcTF5Ki3deHrymEhCx1D9jVAVPilb0mKhCHdKNyarP+gaX7+\n         eoCCu7wysFHVWYN52RIKnDbUxrRQaSB2asZifcmxBXtuiq5tazx+ZdFEFqQ3BEk9QEgK\n         /YgA==",
        "X-Forwarded-Encrypted": "i=1;\n AFNElJ/5IwzxxVYnuw3J56gIFIEHORLl2dKyqeCkXtDKjVRAJAdv19HUZxpK5h0GwCf41OJ1sROPAeHG2TSs@vger.kernel.org",
        "X-Gm-Message-State": "AOJu0Ywyht59cVGzcY/ZJ8HVFA4iNyzslORScFsrFI5koFZ1Z2iF082q\n\tTgirrOf3J1MHWvSxvnpLAmZMyuYcqCWVal9hXS0twj+MLvzD+AC3uVzibhpFe5rfd4FaB26HGs1\n\t8sDgHKSV2H0FnWz8Pe9L8/VY08DK6iHbwe0Gj/8O/edyVmGVh7+O7KfTE1T512lnW",
        "X-Gm-Gg": "AeBDieuYUwCIa+HhwBSULMnXqBo/cAHzzN9Kv5qs8YRnFTXX3sqPkCMODQdyYXqf5vJ\n\tLFEnJ9GUuXPDW5jibQchM6VoT9xTXrJn6AvbN3SiCMPPUyAO98rRM546su16JAxWnEHtsQo1Cgv\n\tXTINmO+FzvHDaaaFkQn34ViXz/Dbnzyi0YXv+Piim9FFX4uFMrD3P48enEZR6urvE8ouIR7eijs\n\t6BkeULQY/C7yOxl8mp5Am+FyEVPO3DO4S5myWgBEAsXagXtzhleTK+HPM27bcXqcCa/Gi0Y/oKc\n\tpwu734bfJ46osK+FXoxrXKo/1wViQiGY8FRl2HPK8Q/gG7cvyWSvel1p4P3VAE95d636G4ssJlr\n\toJNupHqGUj830H1ZlqlNgiXIMY1j1jPU8OJuX5sCO0EjcNF7bsct7iKSbeeJOzQ==",
        "X-Received": [
            "by 2002:a05:6a20:4326:b0:39f:3559:7501 with SMTP id\n adf61e73a8af0-3a08d8eb11bmr36870253637.41.1777012304119;\n        Thu, 23 Apr 2026 23:31:44 -0700 (PDT)",
            "by 2002:a05:6a20:4326:b0:39f:3559:7501 with SMTP id\n adf61e73a8af0-3a08d8eb11bmr36870212637.41.1777012303588;\n        Thu, 23 Apr 2026 23:31:43 -0700 (PDT)"
        ],
        "From": "Sneh Mankad <sneh.mankad@oss.qualcomm.com>",
        "Date": "Fri, 24 Apr 2026 12:01:24 +0530",
        "Subject": "[PATCH] pinctrl: qcom: Add irq_get/set_irqchip_state() for msm\n gpio irqchip",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-gpio@vger.kernel.org",
        "List-Id": "<linux-gpio.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "\n <20260424-pinctrl_irqchip_states-v1-1-85286f078916@oss.qualcomm.com>",
        "X-B4-Tracking": "v=1; b=H4sIADsO62kC/x3MQQqAIBBA0avErBPKJKirRITYWANhNiMRhHdPW\n r7F/y8IMqHAWL3AeJPQGQraugK327ChorUYdKP7xmijIgWX+FiIL7dTXCTZhKKsReM77QffI5Q\n 4Mnp6/vE05/wB4xH6RmgAAAA=",
        "X-Change-ID": "20260424-pinctrl_irqchip_states-aae4f32f9f6e",
        "To": "Bjorn Andersson <andersson@kernel.org>, Linus Walleij <linusw@kernel.org>",
        "Cc": "linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org,\n        linux-kernel@vger.kernel.org,\n        Maulik Shah <maulik.shah@oss.qualcomm.com>,\n        Sneh Mankad <sneh.mankad@oss.qualcomm.com>",
        "X-Mailer": "b4 0.14.2",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1777012300; l=2906;\n i=sneh.mankad@oss.qualcomm.com; s=20250818; h=from:subject:message-id;\n bh=h02fdp0DbXznNzmrHM3xZOzhwlTmloFlpI4uxtWczsU=;\n b=oitZkZ74zfH3TPM1mCDzF2vNaNn8TpgKaiEjNAuNXb/buNd9xf0VDxS4p13BmJNTfE6nbvE0e\n +HYXjwfB9/QA6iMdq3ILBwl1pnoKSjJ7RcMFuvNuy+abMSNZ722qYQk",
        "X-Developer-Key": "i=sneh.mankad@oss.qualcomm.com; a=ed25519;\n pk=sv57EGwdcfnp6xJmoBCIT1JFSqWI+gawRHkJWj/T2B0=",
        "X-Proofpoint-ORIG-GUID": "V_47yJ5IHdin019bbsIby9NXU83TWjKg",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDI0MDA1OCBTYWx0ZWRfX7Ajl3W4zcd0i\n qaX1Umzigkf0fKYq5IzlSkhqD6H3SU4TB0c2xT+u/WDRMVI4drDozo/6m/olfbGUP0tNBOMcy87\n DDU9H6cPEdCtoiMbsXqIrcTNro3x6NbuQQ/enPbNrqeRVcLZPO3fe3rqSGi7euA+/VvqXiejNfX\n 6D6YQAZhx0plEXHoT97bICURF3Jo88QlVwLoFUib/YNONfTAcecdbWPievN4+h0IQ/1meU6Y1AG\n VsVQ5UcEfiPQkS+M4sfx0Ihuc/eZgKxz+0Xi0RK/QiDyRREA8us8lwz3O/iRHPVMyDdpthPzYiZ\n dqMB1fHAvleEUSCQuZy938ST8uBZgUWWRRAM2eYmJEBYQARBNjr5bVrP32AItfa6Ee6KjXFvA7d\n gAHIL6QQJgG5AOzT6HUrvZO/4SXhX1GE8xU8KFwkW/D7PhqTTcap0ZHK/TfOu0edFo3hqf6On7s\n 9E9LHEEPJszqzsp0oOg==",
        "X-Authority-Analysis": "v=2.4 cv=fP4JG5ae c=1 sm=1 tr=0 ts=69eb0e51 cx=c_pps\n a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=fChuTYTh2wq5r3m49p7fHw==:17\n a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22\n a=EUspDBNiAAAA:8 a=V_Y7YcmqozLAU5NnLsYA:9 a=QEXdDO2ut3YA:10\n a=_Vgx9l1VpLgwpw_dHYaR:22",
        "X-Proofpoint-GUID": "V_47yJ5IHdin019bbsIby9NXU83TWjKg",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-23_03,2026-04-21_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n malwarescore=0 clxscore=1011 priorityscore=1501 adultscore=0 suspectscore=0\n impostorscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 phishscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604240058"
    },
    "content": "From: Maulik Shah <maulik.shah@oss.qualcomm.com>\n\nMPM irqchip monitors the interrupts during SoC sleep state and after wakeup\nreplays the edge interrupt by making it pending at respective irqchip by\ninvoking irq_set_irqchip_state() API. The msm gpio irqchip however do not\nimplement this function making it impossible to replay the gpio interrupt\non any MPM irqchip based SoC.\n\nAdd the missing irq_get/set_irqchip_state() APIs. Implement only\nIRQCHIP_STATE_PENDING case which MPM irqchip uses.\n\nSigned-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com>\nSigned-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>\n---\n drivers/pinctrl/qcom/pinctrl-msm.c | 39 ++++++++++++++++++++++++++++++++++++++\n 1 file changed, 39 insertions(+)\n\n\n---\nbase-commit: b4e07588e743c989499ca24d49e752c074924a9a\nchange-id: 20260424-pinctrl_irqchip_states-aae4f32f9f6e\n\nBest regards,",
    "diff": "diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c\nindex 45b3a2763eb85405fecdd4770ba3d4ab684563f0..925fca82252413d8e21fb47a0cc3a9ade7d5fe67 100644\n--- a/drivers/pinctrl/qcom/pinctrl-msm.c\n+++ b/drivers/pinctrl/qcom/pinctrl-msm.c\n@@ -1305,6 +1305,43 @@ static int msm_gpio_irq_set_affinity(struct irq_data *d,\n \treturn -EINVAL;\n }\n \n+static int msm_gpio_irq_set_irqchip_state(struct irq_data *d,\n+\t\t\t\t\t  enum irqchip_irq_state which, bool val)\n+{\n+\tstruct gpio_chip *gc = irq_data_get_irq_chip_data(d);\n+\tstruct msm_pinctrl *pctrl = gpiochip_get_data(gc);\n+\tconst struct msm_pingroup *g = &pctrl->soc->groups[d->hwirq];\n+\n+\tif (which != IRQCHIP_STATE_PENDING)\n+\t\treturn -EINVAL;\n+\n+\tif (test_bit(d->hwirq, pctrl->skip_wake_irqs))\n+\t\treturn -EINVAL;\n+\n+\tmsm_writel_intr_status(val, pctrl, g);\n+\n+\treturn 0;\n+}\n+\n+static int msm_gpio_irq_get_irqchip_state(struct irq_data *d,\n+\t\t\t\t\t  enum irqchip_irq_state which, bool *val)\n+{\n+\tstruct gpio_chip *gc = irq_data_get_irq_chip_data(d);\n+\tstruct msm_pinctrl *pctrl = gpiochip_get_data(gc);\n+\tconst struct msm_pingroup *g = &pctrl->soc->groups[d->hwirq];\n+\n+\tif (which != IRQCHIP_STATE_PENDING)\n+\t\treturn -EINVAL;\n+\n+\tif (test_bit(d->hwirq, pctrl->skip_wake_irqs))\n+\t\treturn -EINVAL;\n+\n+\tg = &pctrl->soc->groups[d->hwirq];\n+\t*val = msm_readl_intr_status(pctrl, g);\n+\n+\treturn 0;\n+}\n+\n static int msm_gpio_irq_set_vcpu_affinity(struct irq_data *d, void *vcpu_info)\n {\n \tstruct gpio_chip *gc = irq_data_get_irq_chip_data(d);\n@@ -1393,6 +1430,8 @@ static const struct irq_chip msm_gpio_irq_chip = {\n \t.irq_request_resources\t= msm_gpio_irq_reqres,\n \t.irq_release_resources\t= msm_gpio_irq_relres,\n \t.irq_set_affinity\t= msm_gpio_irq_set_affinity,\n+\t.irq_set_irqchip_state = msm_gpio_irq_set_irqchip_state,\n+\t.irq_get_irqchip_state = msm_gpio_irq_get_irqchip_state,\n \t.irq_set_vcpu_affinity\t= msm_gpio_irq_set_vcpu_affinity,\n \t.flags\t\t\t= (IRQCHIP_MASK_ON_SUSPEND |\n \t\t\t\t   IRQCHIP_SET_TYPE_MASKED |\n",
    "prefixes": []
}