diff options
author | Vinod Koul <vinod.koul@intel.com> | 2011-06-09 22:07:05 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-06-09 22:07:05 +0530 |
commit | 4b28d81a7ed82b906f1fdec0133d597b9cf57f85 (patch) | |
tree | fc722c2bafb704c0db35599392d8f8dddbb4e36d /sound/soc/codecs/cx20442.c | |
parent | 114df7d66efd5c23561782f38e97c48fb30d4f5d (diff) | |
parent | 626a96db11698119a67eeda130488e869aa6f14e (diff) | |
download | talos-obmc-linux-4b28d81a7ed82b906f1fdec0133d597b9cf57f85.tar.gz talos-obmc-linux-4b28d81a7ed82b906f1fdec0133d597b9cf57f85.zip |
Merge remote branch 'gpio/ep93xx-dma' into next
Diffstat (limited to 'sound/soc/codecs/cx20442.c')
-rw-r--r-- | sound/soc/codecs/cx20442.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c index f8c663dcff02..d68ea532cc7f 100644 --- a/sound/soc/codecs/cx20442.c +++ b/sound/soc/codecs/cx20442.c @@ -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); @@ -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() */ |