ASoC: davinci-mcasp: enable ping-pong SRAM buffers
authorBen Gardiner <bengardiner@nanometrics.ca>
Wed, 18 May 2011 13:27:45 +0000 (09:27 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 19 May 2011 21:11:17 +0000 (14:11 -0700)
commita0c8326397262f1817ee6c5212ad6adf43e3df36
treeefc56ec97ac7dd5317be0004521295406b9671ec
parentc26f642e2683fb1a367686bc0bac9f5947885cb6
ASoC: davinci-mcasp: enable ping-pong SRAM buffers

The davinci-i2s driver copies the platform data for playback and capture
sram sizes which is in turn used by davinci-pcm to allocate ping-pong
buffers.

Copy also the platform data in davinci-mcasp probe.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-mcasp.c