From patchwork Wed Dec 30 16:42:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 7934261 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D978E9F387 for ; Wed, 30 Dec 2015 16:47:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C1AD202F2 for ; Wed, 30 Dec 2015 16:47:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A8A0202EB for ; Wed, 30 Dec 2015 16:47:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754985AbbL3QrB (ORCPT ); Wed, 30 Dec 2015 11:47:01 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:37679 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754093AbbL3Qqv (ORCPT ); Wed, 30 Dec 2015 11:46:51 -0500 Received: by mail-wm0-f51.google.com with SMTP id f206so84211898wmf.0 for ; Wed, 30 Dec 2015 08:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=HEaeG89aALZN/zpkKdriVIC6e4n6qxWVWS+53lQjvNs=; b=HoyMY7wUhW57Nz9fX2S+YbqCyQtesDdgKcWEkeU+6SkP3NvQ7XkF7zVXXqpGML9FKq QkAw/qhiw8hUNtPAOFxiB7eqPt/sKul2rDssheYOM3HnAC+ywz48HKOT9DKdmJZoQafl GhhRK7rolcz+1GnJgYMbdVETOjTxZpsCeORH8KpyWR2zRTgLJFuEHidFS4rvc6LjqrjV yOaGvuJjXz+xO5Ci4Tl/CQOKUtcOG1sz4HbjiC2IDgshcppV1p+Wk/J/u+uEVFAazo9D hLpIdygB7SqvXRdUL+FikWWoUZtq0W21SRGgspmsmVjnTpsalyyHmBmhvNfGmUpwKhtH 3/Mg== X-Received: by 10.194.176.170 with SMTP id cj10mr58738827wjc.165.1451494010308; Wed, 30 Dec 2015 08:46:50 -0800 (PST) Received: from ?IPv6:2003:62:5f55:ba00:84bb:b7f:fe67:66b9? (p200300625F55BA0084BB0B7FFE6766B9.dip0.t-ipconnect.de. [2003:62:5f55:ba00:84bb:b7f:fe67:66b9]) by smtp.googlemail.com with ESMTPSA id w8sm22250756wjx.21.2015.12.30.08.46.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Dec 2015 08:46:49 -0800 (PST) From: Heiner Kallweit Subject: [PATCH 08/16] media: rc: nuvoton-cir: remove unneeded EFM operation in nvt_cir_isr To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org Message-ID: <56840990.9050403@gmail.com> Date: Wed, 30 Dec 2015 17:42:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Selecting the logical device in the interrupt handler is not needed as no configuration register is accessed. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c index 342e21d..91f8fda 100644 --- a/drivers/media/rc/nuvoton-cir.c +++ b/drivers/media/rc/nuvoton-cir.c @@ -800,10 +800,6 @@ static irqreturn_t nvt_cir_isr(int irq, void *data) nvt_dbg_verbose("%s firing", __func__); - nvt_efm_enable(nvt); - nvt_select_logical_dev(nvt, LOGICAL_DEV_CIR); - nvt_efm_disable(nvt); - /* * Get IR Status register contents. Write 1 to ack/clear *