Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170243
b: refs/heads/master
c: 1e224f3
h: refs/heads/master
i:
  170241: aa84fa5
  170239: bf796ac
v: v3
  • Loading branch information
Troy Kisky authored and Mark Brown committed Nov 19, 2009
1 parent 6aeb66e commit e8be8a6
Show file tree
Hide file tree
Showing 5 changed files with 482 additions and 45 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1587ea31572e25a0a2c9c491b7f8c937b6c0454e
refs/heads/master: 1e224f322bf22280957a5f76164d848526ed9b08
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-davinci/include/mach/asp.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ struct snd_platform_data {
* when compared to previous behavior.
*/
unsigned enable_channel_combine:1;
unsigned sram_size_playback;
unsigned sram_size_capture;

/* McASP specific fields */
int tdm_slots;
Expand Down
7 changes: 6 additions & 1 deletion trunk/sound/soc/davinci/davinci-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,13 @@ static int davinci_i2s_probe(struct platform_device *pdev)
ret = -ENOMEM;
goto err_release_region;
}
if (pdata)
if (pdata) {
dev->enable_channel_combine = pdata->enable_channel_combine;
dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK].sram_size =
pdata->sram_size_playback;
dev->dma_params[SNDRV_PCM_STREAM_CAPTURE].sram_size =
pdata->sram_size_capture;
}
dev->clk = clk_get(&pdev->dev, NULL);
if (IS_ERR(dev->clk)) {
ret = -ENODEV;
Expand Down
Loading

0 comments on commit e8be8a6

Please sign in to comment.