diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-01 23:35:02 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-01 23:35:02 -0500 |
commit | 22849e45ffa5f447745c898d1ddbf73543e6caba (patch) | |
tree | 32bf5cd6910634d5a3c11aa08951f58598e8947f /arch/arm/mach-davinci | |
parent | 994f2f9ed6e438fd1daa54484d19e07350079b31 (diff) | |
parent | 88abfd5b84cc98c839fb7783c59b4c79d63d45e2 (diff) |
Merge remote-tracking branch 'asoc/topic/davinci' into asoc-next
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 32ee3f895967..d9bc3fa7bb22 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -762,16 +762,19 @@ static u8 da850_iis_serializer_direction[] = { | |||
762 | }; | 762 | }; |
763 | 763 | ||
764 | static struct snd_platform_data da850_evm_snd_data = { | 764 | static struct snd_platform_data da850_evm_snd_data = { |
765 | .tx_dma_offset = 0x2000, | 765 | .tx_dma_offset = 0x2000, |
766 | .rx_dma_offset = 0x2000, | 766 | .rx_dma_offset = 0x2000, |
767 | .op_mode = DAVINCI_MCASP_IIS_MODE, | 767 | .op_mode = DAVINCI_MCASP_IIS_MODE, |
768 | .num_serializer = ARRAY_SIZE(da850_iis_serializer_direction), | 768 | .num_serializer = ARRAY_SIZE(da850_iis_serializer_direction), |
769 | .tdm_slots = 2, | 769 | .tdm_slots = 2, |
770 | .serial_dir = da850_iis_serializer_direction, | 770 | .serial_dir = da850_iis_serializer_direction, |
771 | .asp_chan_q = EVENTQ_0, | 771 | .asp_chan_q = EVENTQ_0, |
772 | .version = MCASP_VERSION_2, | 772 | .ram_chan_q = EVENTQ_1, |
773 | .txnumevt = 1, | 773 | .version = MCASP_VERSION_2, |
774 | .rxnumevt = 1, | 774 | .txnumevt = 1, |
775 | .rxnumevt = 1, | ||
776 | .sram_size_playback = SZ_8K, | ||
777 | .sram_size_capture = SZ_8K, | ||
775 | }; | 778 | }; |
776 | 779 | ||
777 | static const short da850_evm_mcasp_pins[] __initconst = { | 780 | static const short da850_evm_mcasp_pins[] __initconst = { |
@@ -1509,6 +1512,7 @@ static __init void da850_evm_init(void) | |||
1509 | pr_warning("da850_evm_init: mcasp mux setup failed: %d\n", | 1512 | pr_warning("da850_evm_init: mcasp mux setup failed: %d\n", |
1510 | ret); | 1513 | ret); |
1511 | 1514 | ||
1515 | da850_evm_snd_data.sram_pool = sram_get_gen_pool(); | ||
1512 | da8xx_register_mcasp(0, &da850_evm_snd_data); | 1516 | da8xx_register_mcasp(0, &da850_evm_snd_data); |
1513 | 1517 | ||
1514 | ret = davinci_cfg_reg_list(da850_lcdcntl_pins); | 1518 | ret = davinci_cfg_reg_list(da850_lcdcntl_pins); |