]> Pileus Git - ~andy/linux/commit
ASoC: soc-compress: Deduce stream direction
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 18 Apr 2013 10:02:38 +0000 (11:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 21 Apr 2013 07:53:43 +0000 (09:53 +0200)
commitdaa2db59ce7e36011a6c92a0342cd0919b9fb7d3
tree30238f3c030a82cdb2f41e8d43dc7bbf81198668
parent49bb6402f1aa1effa9d9c5df39d91a86ca8fd736
ASoC: soc-compress: Deduce stream direction

Previously we just hard coded all streams as playback streams, this
patch checks the DAI to see if it is a capture or playback stream. It is
worth noting that at this time only unidirectional streams are
supported.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/soc-compress.c