Re: [PATCH 1/2] driver: regmap: add regmap_parse_val api
From: Mark Brown
Date: Thu Mar 06 2014 - 04:41:44 EST
On Wed, Feb 19, 2014 at 06:44:13PM +0800, Nenghua Cao wrote:
> From: Nenghua Cao <nhcao@xxxxxxxxxxx>
>
> 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.
Applied, thanks. Please use subject lines matching the style for the
subsystem.
Attachment:
signature.asc
Description: Digital signature