OSDN Git Service

ASoC: Provide a more complete DMA driver stub
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Dec 2011 20:50:45 +0000 (20:50 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Dec 2011 20:57:35 +0000 (12:57 -0800)
commit4957ef02313c54e372b54fbc9ec6478f791a87cb
tree20b0645e257a267b847b5e41f0d30e745bb46705
parenta43cc03a3c0c1f1eb783b4493ecbf15c7638b7f7
ASoC: Provide a more complete DMA driver stub

commit cefcc03ffc9527dde56807339edb1719c8dbae5f upstream.

Allow userspace applications to do more parameter setting by providing a
more complete stub DMA driver specifying a wildcard set of formats and
channels and essentially random values for the DMA parameters. This is
required for useful runtime operation of the dummy DMA driver until we
are able to figure out how to power up links and do hw_params() from DAPM.

Sending to stable as without this the dummy driver is not terribly
useful.

Reported-by: Kyung-Kwee Ryu <Kyung-Kwee.Ryu@wolfsonmicro.com>
Tested-by: Kyung-Kwee Ryu <Kyung-Kwee.Ryu@wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/soc-utils.c