Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248679
b: refs/heads/master
c: ed0bd23
h: refs/heads/master
i:
  248677: 032ce75
  248675: 37a456c
  248671: bf75804
v: v3
  • Loading branch information
Mark Brown authored and Greg Kroah-Hartman committed May 11, 2011
1 parent cc0b072 commit e6f590c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 177c2cbf7dc4f6599efa6cd2b514381784f47634
refs/heads/master: ed0bd2333cffc3d856db9beb829543c1dfc00982
8 changes: 5 additions & 3 deletions trunk/sound/soc/codecs/cx20442.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,14 @@ static int v253_hangup(struct tty_struct *tty)
}

/* Line discipline .receive_buf() */
static void v253_receive(struct tty_struct *tty,
const unsigned char *cp, char *fp, int count)
static unsigned int v253_receive(struct tty_struct *tty,
const unsigned char *cp, char *fp, int count)
{
struct snd_soc_codec *codec = tty->disc_data;
struct cx20442_priv *cx20442;

if (!codec)
return;
return count;

cx20442 = snd_soc_codec_get_drvdata(codec);

Expand All @@ -293,6 +293,8 @@ static void v253_receive(struct tty_struct *tty,
codec->hw_write = (hw_write_t)tty->ops->write;
codec->card->pop_time = 1;
}

return count;
}

/* Line discipline .write_wakeup() */
Expand Down

0 comments on commit e6f590c

Please sign in to comment.