ASoC: SPEAr: get rid of spear-pcm-audio struct device
authorStephen Warren <swarren@nvidia.com>
Tue, 10 Dec 2013 19:35:24 +0000 (12:35 -0700)
committerMark Brown <broonie@linaro.org>
Wed, 18 Dec 2013 18:55:02 +0000 (18:55 +0000)
commitede38884ac25ed78e43f3480056670963a9980f0
tree9c9c434b532a9f0faf4b248b1d2d6c8afcb40785
parentd71b3ef44f9e5cfda2499768f6420b784845af06
ASoC: SPEAr: get rid of spear-pcm-audio struct device

Modify the SPEAr PCM driver so that it's a utility library that can be
registered on each DAI, rather than a separate struct device. This is
more in line with how many recent DT-converted platforms operate, and
avoids the need for yet another struct device.

This is also required as a pre-cursor to removing
spear_pcm_request_chan().

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/spear/spdif_in.c
sound/soc/spear/spdif_out.c
sound/soc/spear/spear_pcm.c
sound/soc/spear/spear_pcm.h [new file with mode: 0644]