Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3843271pxb; Mon, 8 Feb 2021 01:17:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsuBnsDmhp+AOjXxdDR/XtiLOEgddTrb3ichVTINlLx+XJofnNSRnsJ7AMcKY0B8mCMZ2C X-Received: by 2002:a05:6402:14c9:: with SMTP id f9mr7832035edx.90.1612775853625; Mon, 08 Feb 2021 01:17:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612775853; cv=none; d=google.com; s=arc-20160816; b=p/IfiRMvDiR5qF0dz2beL/dlPEMe/If4VSJ/thVKEAuOzRaXMgir23PSvMhszCWY1u soMXBAzt9lRRtI5XBYgX9TgRpfvhL6y8SkERmd+KymYoupexKgP1l67XE7hzoXyZfd+E 31q21MT4i5dikKv8sy4unAWSH8gCYpQ/BjYXdBWX9q/KjmYbYLMNOjAHMlcABFiB3zAG btAqjvzkS3BWjU7jfx1t6CT4qyIbCchiwK7bSGEK/MsbbXKe1L92fCKTd7vn1/WWx4F0 rJBGwdRGudG2o9O4ktgD6UAAa5Ayoh3fVZL8hAJ6sZoUyxbHwCl2QIcrq+xJrunpqWsf 2fwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=t4js/yzV5APg2lO7suWYQCFILptD0Rj2V7WTPCouNj4=; b=BWbUB0tnnySnBVcZePoW+14lVsWqL5IE4cND6+yQfFlvPFacybdCHc8e4Zsq3ThfxS MgvLNUkBcoMsg8we1ncghh7BbM0z4HmoGnEW09mGXeQsm7s60zIQXoPK3u9FdB76Q9AT IPbdVuK64sPLlSbvp/FDylJmPbkGUqPhqqA5oYsDJ5kBz1Iy3tQhOZWUMuyJBUZCOda3 Y/s12ExrBpoV6npaQ4EPJB8NEPVSwSCGPP9WF7l1PsOCVZI3o7gwGz246o12/yMP2zIW EYNnmU5tgYvDfEgNvxJpsbQJ1lLJBvIcgEkHX4GlMNxjmE2twnVMB+Gv3Zkg2hw/Zzj7 8AUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h13si10819168edw.220.2021.02.08.01.17.10; Mon, 08 Feb 2021 01:17:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231484AbhBHJQ3 (ORCPT + 99 others); Mon, 8 Feb 2021 04:16:29 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:12865 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231321AbhBHI5z (ORCPT ); Mon, 8 Feb 2021 03:57:55 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DZ0Gl2gvjz7htx; Mon, 8 Feb 2021 16:55:27 +0800 (CST) Received: from huawei.com (10.69.192.56) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.498.0; Mon, 8 Feb 2021 16:56:44 +0800 From: Luo Jiaxing To: , , , , , CC: , , Subject: [PATCH for next v1 0/2] gpio: few clean up patches to replace spin_lock_irqsave with spin_lock Date: Mon, 8 Feb 2021 16:56:15 +0800 Message-ID: <1612774577-55943-1-git-send-email-luojiaxing@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no need to use API with _irqsave in hard IRQ handler, So replace those with spin_lock. Luo Jiaxing (2): gpio: omap: Replace raw_spin_lock_irqsave with raw_spin_lock in omap_gpio_irq_handler() gpio: grgpio: Replace spin_lock_irqsave with spin_lock in grgpio_irq_handler() drivers/gpio/gpio-grgpio.c | 5 ++--- drivers/gpio/gpio-omap.c | 15 ++++++--------- 2 files changed, 8 insertions(+), 12 deletions(-) -- 2.7.4