From patchwork Wed Aug 27 04:21:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantinos Tsimpoukas X-Patchwork-Id: 4785751 X-Patchwork-Delegate: tiwai@suse.de Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 394ABC0338 for ; Wed, 27 Aug 2014 04:22:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8735220158 for ; Wed, 27 Aug 2014 04:22:29 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 5EA2620127 for ; Wed, 27 Aug 2014 04:22:28 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id C56C826530B; Wed, 27 Aug 2014 06:22:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NO_DNS_FOR_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 5DB392652E8; Wed, 27 Aug 2014 06:22:15 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7D1142652EE; Wed, 27 Aug 2014 06:22:13 +0200 (CEST) Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by alsa0.perex.cz (Postfix) with ESMTP id 57B542652E6 for ; Wed, 27 Aug 2014 06:22:05 +0200 (CEST) Received: by mail-oi0-f49.google.com with SMTP id u20so11376212oif.36 for ; Tue, 26 Aug 2014 21:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=RTPcaZEvcXyqYmR7Qo6SXEO0Fa6c/q/2Fv/Wkc6m1Bo=; b=CnUo+W6hNQP44WMvVcjjE8rx+S6gDaoUcKoa9bbMHvH6n4xW8yHLT4mfbRhiZ7eMJe JyytK3VTN/ApzmBrnfVKNGySAUu0lYDgLqYmuHuCWgHXYhMQqgdbTeeDn40Tu+XXXj3S UzFyc0HP1xQ/ZCIPSN2j8vQP1YlKIRGUATyMNwNuWh7HBiXvivvys0wegpZhUdhPjCcf FZS9obH2XICmc0Tt2RoTttaPNt3yJYViqYbFnP3zSEmlsYixgZtgB6JtUYaJSq7aHWPM RxYViWEmIjRO/O/LP5dUrH2Eo5SC2LNHHk3vxd7P+LFyeufEIezALT1gpfxBedi9Eswk xZeg== X-Received: by 10.60.58.36 with SMTP id n4mr744997oeq.73.1409113323779; Tue, 26 Aug 2014 21:22:03 -0700 (PDT) Received: from kostasPC.gdl.megared.net.mx ([187.245.190.73]) by mx.google.com with ESMTPSA id cx4sm5336626obd.3.2014.08.26.21.22.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Aug 2014 21:22:03 -0700 (PDT) From: Konstantinos Tsimpoukas To: Konstantinos Tsimpoukas , Date: Tue, 26 Aug 2014 23:21:48 -0500 Message-Id: <1409113308-4671-1-git-send-email-kostaslinuxxx@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: Takashi Iwai , linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org Subject: [alsa-devel] [PATCH 1/1] ice1712: Replacing hex with #defines X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Adds to te readability of the ice1712 driver. Signed-off-by: Konstantinos Tsimpoukas --- sound/pci/ice1712/ice1712.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index 87f7fc4..206ed2c 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c @@ -2528,7 +2528,7 @@ static int snd_ice1712_free(struct snd_ice1712 *ice) if (!ice->port) goto __hw_end; /* mask all interrupts */ - outb(0xc0, ICEMT(ice, IRQ)); + outb(ICE1712_MULTI_CAPTURE | ICE1712_MULTI_PLAYBACK, ICEMT(ice, IRQ)); outb(0xff, ICEREG(ice, IRQMASK)); /* --- */ __hw_end: