[PATCH] Davinci sound soc driver patch for Neuros OSD2 board support.

From: Andrey Porodko
Date: Mon Nov 30 2009 - 01:57:03 EST


Signed-off-by: Andrey Porodko <panda@xxxxxxxxxx>
---
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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/