From: Lars-Peter Clausen Date: Wed, 3 Apr 2013 09:02:55 +0000 (+0200) Subject: ASoC: ux500_pcm: Use the same snd_pcm_hardware for playback and capture X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~42^2~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69b6f19622ce0aef41df884b75e3f789c64b89c0;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed