summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dmaengine-pcm.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-04-03 11:02:55 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-07 19:51:05 +0100
commit69b6f19622ce0aef41df884b75e3f789c64b89c0 (patch)
treed813286bb381387fb8a1e5fc0fcdee0da352ffa3 /sound/soc/soc-dmaengine-pcm.c
parente6451c3ff8c99a8c171a30f20b4234687b35712c (diff)
downloadtalos-obmc-linux-69b6f19622ce0aef41df884b75e3f789c64b89c0.tar.gz
talos-obmc-linux-69b6f19622ce0aef41df884b75e3f789c64b89c0.zip
ASoC: ux500_pcm: Use the same snd_pcm_hardware for playback and capture
The snd_pcm_hardware structs for playback and capture in the ux500 PCM are identical, so remove one of them and use the same snd_pcm_hardware struct for both playback and capture. Also move the defines used to initialize the snd_pcm_hardware fields from ux500_pcm.h to ux500_pcm.c since that's the only place where they are used. Also drop the assignment of the snd_pcm_hardware struct to runtime->hw since that is what the call to snd_soc_set_runtime_hwparams() right above it already does, so the second assignment is redundant. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-dmaengine-pcm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud