From: Nenghua Cao Date: Wed, 19 Feb 2014 10:44:58 +0000 (+0800) Subject: ASoC: core: use regmap's parse_val to do endian translation X-Git-Tag: v3.15-rc1~36^2~1^2~5^2~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1a564ed6abf62e05fcffa9ed3f46a826400df3a;p=pandora-kernel.git ASoC: core: use regmap's parse_val to do endian translation In snd_soc_bytes_put function, it forces cpu to do cpu_to_be translation, but for mmio bus which uses REGMAP_ENDIAN_NATIVE, it doesn't need to do endian translation. So it is better to use regmap's api which can decide if this translation is needed according to bus configuration. Signed-off-by: Nenghua Cao Signed-off-by: Mark Brown --- Reading git-diff-tree failed