Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332032
b: refs/heads/master
c: 8a88df4
h: refs/heads/master
v: v3
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Aug 25, 2012
1 parent 92ac686 commit bcc9758
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 28739dfcffaad629b28cbab947193b259f745ea9
refs/heads/master: 8a88df4cda5eaed97e027f9c9e76012a7113bf9a
6 changes: 4 additions & 2 deletions trunk/sound/soc/omap/omap-mcbsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,10 @@ int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd)
struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai);

if (!mcbsp->st_data)
return -ENODEV;
if (!mcbsp->st_data) {
dev_warn(mcbsp->dev, "No sidetone data for port\n");
return 0;
}

switch (mcbsp->id) {
case 2: /* McBSP 2 */
Expand Down

0 comments on commit bcc9758

Please sign in to comment.