alistair23-linux/sound/soc/ux500
Lars-Peter Clausen 69b6f19622 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>
2013-04-07 19:51:05 +01:00
..
Kconfig ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
Makefile ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
mop500.c ASoC: Ux500: Fix build error pertaining to missing include file 2013-01-31 20:37:05 +08:00
mop500_ab8500.c ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
mop500_ab8500.h ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
ux500_msp_dai.c ASoC: ux500: remove __dev* attributes 2012-12-10 00:31:45 +09:00
ux500_msp_dai.h ASoC: Ux500: Control apb clock 2012-10-22 14:28:28 +01:00
ux500_msp_i2s.c ASoC: ux500_msp_i2s: Fix devm_* and return code merge error 2012-10-16 14:14:31 +09:00
ux500_msp_i2s.h ASoC: Ux500: Move MSP pinctrl setup into the MSP driver 2012-09-20 09:10:56 +02:00
ux500_pcm.c ASoC: ux500_pcm: Use the same snd_pcm_hardware for playback and capture 2013-04-07 19:51:05 +01:00
ux500_pcm.h ASoC: ux500_pcm: Use the same snd_pcm_hardware for playback and capture 2013-04-07 19:51:05 +01:00