From: Nenghua Cao Date: Wed, 19 Feb 2014 10:44:13 +0000 (+0800) Subject: regmap: add regmap_parse_val api X-Git-Tag: v3.15-rc1~149^2^7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13ff50c85846338bb9820abd3933227b678dc086;p=pandora-kernel.git regmap: add regmap_parse_val api In some cases, we need regmap's format parse_val function to do be/le translation according to the bus configuration. For example, snd_soc_bytes_put() uses regmap to write/read values, and use cpu_to_be() directly to covert MASK into big endian. This is a defect, and should use regmap's format function to do it according to bus configuration. Signed-off-by: Nenghua Cao Signed-off-by: Mark Brown --- Reading git-diff-tree failed