Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252975
b: refs/heads/master
c: bb3d6bf
h: refs/heads/master
i:
  252973: 23b53d2
  252971: c569f63
  252967: 7f75740
  252959: 20b4ef6
v: v3
  • Loading branch information
Linus Torvalds committed Jun 3, 2011
1 parent 786eda7 commit 9798dea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 55db4c64eddf37e31279ec15fe90314713bc9cfa
refs/heads/master: bb3d6bf1919a20c56b3257b4ec09e67a9226cfb2
8 changes: 3 additions & 5 deletions trunk/sound/soc/codecs/cx20442.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,14 +262,14 @@ static int v253_hangup(struct tty_struct *tty)
}

/* Line discipline .receive_buf() */
static unsigned int v253_receive(struct tty_struct *tty,
const unsigned char *cp, char *fp, int count)
static void 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 count;
return;

cx20442 = snd_soc_codec_get_drvdata(codec);

Expand All @@ -281,8 +281,6 @@ static unsigned int 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 9798dea

Please sign in to comment.