From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tabi Timur-B04825 Subject: Re: [PATCH 03/20] ARM: imx: merge audmux-v1 and audmux-v2 Date: Mon, 5 Mar 2012 00:22:07 +0000 Message-ID: <4F54072E.6040407@freescale.com> References: <1330788001-10158-1-git-send-email-shawn.guo@linaro.org> <1330788001-10158-4-git-send-email-shawn.guo@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe004.messaging.microsoft.com [213.199.154.142]) by alsa0.perex.cz (Postfix) with ESMTP id 9440224425 for ; Mon, 5 Mar 2012 01:22:15 +0100 (CET) In-Reply-To: <1330788001-10158-4-git-send-email-shawn.guo@linaro.org> Content-Language: en-US Content-ID: <7E909103AFC10D4F8857FA1F716BDE88@mgd.freescale.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Shawn Guo Cc: "alsa-devel@alsa-project.org" , Mark Brown , Tabi Timur-B04825 , Sascha Hauer , "linux-arm-kernel@lists.infradead.org" List-Id: alsa-devel@alsa-project.org Shawn Guo wrote: > +static unsigned char port_mapping[] = { > + 0x0, 0x4, 0x8, 0x10, 0x14, 0x1c, > +}; May as well make this a 'const' array while you're at it. And perhaps uint8_t is a better choice than "unsigned char". -- Timur Tabi Linux kernel developer at Freescale From mboxrd@z Thu Jan 1 00:00:00 1970 From: B04825@freescale.com (Tabi Timur-B04825) Date: Mon, 5 Mar 2012 00:22:07 +0000 Subject: [PATCH 03/20] ARM: imx: merge audmux-v1 and audmux-v2 In-Reply-To: <1330788001-10158-4-git-send-email-shawn.guo@linaro.org> References: <1330788001-10158-1-git-send-email-shawn.guo@linaro.org> <1330788001-10158-4-git-send-email-shawn.guo@linaro.org> Message-ID: <4F54072E.6040407@freescale.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Shawn Guo wrote: > +static unsigned char port_mapping[] = { > + 0x0, 0x4, 0x8, 0x10, 0x14, 0x1c, > +}; May as well make this a 'const' array while you're at it. And perhaps uint8_t is a better choice than "unsigned char". -- Timur Tabi Linux kernel developer at Freescale