Commit e031b701 authored by Andrey Porodko's avatar Andrey Porodko Committed by Jean-Paul Saman

Davinci sound soc driver patch for Neuros OSD2 board support.

parent 27aed18b
...@@ -55,6 +55,9 @@ static int evm_hw_params(struct snd_pcm_substream *substream, ...@@ -55,6 +55,9 @@ static int evm_hw_params(struct snd_pcm_substream *substream,
else if (machine_is_davinci_evm()) else if (machine_is_davinci_evm())
sysclk = 12288000; sysclk = 12288000;
else if (machine_is_neuros_osd2())
sysclk = 27000000;
else if (machine_is_davinci_da830_evm() || else if (machine_is_davinci_da830_evm() ||
machine_is_davinci_da850_evm()) machine_is_davinci_da850_evm())
sysclk = 24576000; sysclk = 24576000;
...@@ -246,6 +249,9 @@ static int __init evm_init(void) ...@@ -246,6 +249,9 @@ static int __init evm_init(void)
if (machine_is_davinci_evm()) { if (machine_is_davinci_evm()) {
evm_snd_dev_data = &evm_snd_devdata; evm_snd_dev_data = &evm_snd_devdata;
index = 0; index = 0;
} else if (machine_is_neuros_osd2()) {
evm_snd_dev_data = &evm_snd_devdata;
index = 0;
} else if (machine_is_davinci_dm355_evm()) { } else if (machine_is_davinci_dm355_evm()) {
evm_snd_dev_data = &evm_snd_devdata; evm_snd_dev_data = &evm_snd_devdata;
index = 1; index = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment