Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752256AbZK0NZb (ORCPT ); Fri, 27 Nov 2009 08:25:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751216AbZK0NZa (ORCPT ); Fri, 27 Nov 2009 08:25:30 -0500 Received: from mail.is74.ru ([83.142.161.14]:58978 "EHLO relay.intersvyaz.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751125AbZK0NZa (ORCPT ); Fri, 27 Nov 2009 08:25:30 -0500 Message-ID: <4B0FD0B2.9070303@chelcom.ru> Date: Fri, 27 Nov 2009 18:14:26 +0500 From: "A. Porodko" User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Mark Brown CC: Chaithrika U S , "'Liam Girdwood'" , "'Jaroslav Kysela'" , "'Takashi Iwai'" , "'Troy Kisky'" , "'David Brownell'" , "'Kevin Hilman'" , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [alsa-devel] Sound support for Neuros OSD2 Davinci based board. References: <4B0E7D5E.3080906@chelcom.ru> <002e01ca6e9c$2dab6040$890220c0$@com> <20091127111254.GB29512@sirena.org.uk> In-Reply-To: <20091127111254.GB29512@sirena.org.uk> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1239 Lines: 43 Mark Brown wrote: > On Thu, Nov 26, 2009 at 06:57:19PM +0530, Chaithrika U S wrote: > > >> @@ -246,6 +249,9 @@ static int __init evm_init(void) >> if (machine_is_davinci_evm()) { >> evm_snd_dev_data = &evm_snd_devdata; >> index = 0; >> + } else if (machine_is_neuros_osd2()) { >> + evm_snd_dev_data = &evm_snd_devdata; >> + index = 0; >> > > >> The above can be combined with the check for DaVinci EVM >> if (machine_is_davinci_evm() || >> (machine_is_neuros_osd2()) { >> evm_snd_dev_data = &evm_snd_devdata; >> index = 0; >> > > I raised the same query when Andrey sent an off-list copy to me by > mistake - he said that in future he intends to extend the driver to > have additional features not present on the EVM (though for me that > could always change the || later). > > Andrey, with Linux kernel patches reply to all is generally the way > forward. > Mark, Understood. Shall I change if if to if || then? -- Best regards Andrey A. Porodko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/