OSDN Git Service

ASoC: topology: Add alias conf parameter names for hw_configs
authorKirill Marinushkin <k.marinushkin@gmail.com>
Mon, 16 Apr 2018 18:26:41 +0000 (20:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Apr 2018 07:27:44 +0000 (09:27 +0200)
commit4493f6a560a315970f5b068126120526a04ae6a2
tree5ca36c8cb248504f8c82da96dc05bc78846b7e1c
parent7cf73b56e4505ad194f5789293494a6ebaa1feff
ASoC: topology: Add alias conf parameter names for hw_configs

Currently, some parameter names in conf differ from field names in struct.
These look like typos.

This commit suggests to add aliases for such parameters, so that the names
in conf are similar to names in struct. This solution is backwards
compatible.

If the difference between conf names and struct names is done on purpose -
this commit can be dropped.

Signed-off-by: Kirill Marinushkin <k.marinushkin@gmail.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Mark Brown <broonie@kernel.org>
Cc: Pan Xiuli <xiuli.pan@linux.intel.com>
Cc: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Cc: alsa-devel@alsa-project.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/topology/pcm.c