ASoC: Update cx20442 for TTY API change
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 11 May 2011 14:05:44 +0000 (16:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 22:11:21 +0000 (15:11 -0700)
commited0bd2333cffc3d856db9beb829543c1dfc00982
treee83e740acfc4fd040e458d8a1877d4b5f3191194
parent177c2cbf7dc4f6599efa6cd2b514381784f47634
ASoC: Update cx20442 for TTY API change

receive_buf() was recently changed to return the number of bytes
received but the cx20442 driver wasn't updated to match the new API.
I don't have any hardware but since we don't actually appears to be
listening to the data at all just report that we accepted all the data
that was offered to us.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/cx20442.c