public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Patch for davinci soc for Neuros OSD2 board support.
@ 2009-11-30  7:01 Andrey A. Porodko
  0 siblings, 0 replies; only message in thread
From: Andrey A. Porodko @ 2009-11-30  7:01 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Chaithrika U S, Troy Kisky, David Brownell, Kevin Hilman,
	alsa-devel, linux-kernel

Hi,

I've generated patch against

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git for-2.6.33

Please, consider if it fits now.
------------------------------------------------------------
>From ab231a2647569cd039380730bd7c2a68a084c6c4 Mon Sep 17 00:00:00 2001
From: Andrey Porodko <panda@chelcom.ru>
Date: Mon, 30 Nov 2009 11:57:03 +0500
Subject: [PATCH] Davinci sound soc driver patch for Neuros OSD2 board support.

Signed-off-by: Andrey Porodko <panda@chelcom.ru>
---
 sound/soc/davinci/davinci-evm.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
index 7ccbe66..1017fba 100644
--- a/sound/soc/davinci/davinci-evm.c
+++ b/sound/soc/davinci/davinci-evm.c
@@ -56,6 +56,9 @@ static int evm_hw_params(struct snd_pcm_substream *substream,
 	else if (machine_is_davinci_evm())
 		sysclk = 12288000;
 
+	else if (machine_is_neuros_osd2())
+		sysclk = 27000000;
+
 	else if (machine_is_davinci_da830_evm() ||
 				machine_is_davinci_da850_evm())
 		sysclk = 24576000;
@@ -247,6 +250,9 @@ static int __init evm_init(void)
 	if (machine_is_davinci_evm() || machine_is_davinci_dm365_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;
 	} else if (machine_is_davinci_dm355_evm()) {
 		evm_snd_dev_data = &evm_snd_devdata;
 		index = 1;
-- 
1.5.6.5

----------------------------------------------------------------------

-- 
Best regards
Andrey A. Porodko
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-30  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30  7:01 Patch for davinci soc for Neuros OSD2 board support Andrey A. Porodko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox