From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E404C6FD19 for ; Mon, 13 Mar 2023 07:46:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229568AbjCMHql (ORCPT ); Mon, 13 Mar 2023 03:46:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjCMHqk (ORCPT ); Mon, 13 Mar 2023 03:46:40 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A258C4B81B for ; Mon, 13 Mar 2023 00:46:39 -0700 (PDT) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4PZpc96bT7zrSmJ; Mon, 13 Mar 2023 15:45:45 +0800 (CST) Received: from localhost.localdomain (10.50.163.32) by canpemm500009.china.huawei.com (7.192.105.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 13 Mar 2023 15:46:37 +0800 From: Yicong Yang To: , CC: , , , , Subject: [PATCH 0/2] Improvement and fix for HiSilicon I2C driver Date: Mon, 13 Mar 2023 15:45:50 +0800 Message-ID: <20230313074552.54457-1-yangyicong@huawei.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.50.163.32] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Yicong Yang This patchset includes 2 patches for 1) Improve the interrupt handling to avoid redundant interrupts and 2) fix the issue that on error case the completion is not handled and corrupt the next transfer. Yicong Yang (2): i2c: hisi: Avoid redundant interrupts i2c: hisi: Only use the completion interrupt to finish the transfer drivers/i2c/busses/i2c-hisi.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) -- 2.24.0