commit | a1a564ed6abf62e05fcffa9ed3f46a826400df3a | [log] [tgz] |
---|---|---|
author | Nenghua Cao <nhcao@marvell.com> | Wed Feb 19 18:44:58 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Thu Mar 06 17:46:31 2014 +0800 |
tree | dda4a3ea7927703487f1536d186443c84729aff9 | |
parent | d083f580e5b940834a93ab741cdf064f0324dc0f [diff] |
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 <nhcao@marvell.com> Signed-off-by: Mark Brown <broonie@linaro.org>