* PGP Signed by an unknown keyI saw the regmap_raw_write() and it is using the same way without byte swapping.
On Thu, Feb 09, 2012 at 05:42:11PM +0530, Laxman Dewangan wrote:
+ if (vol || map->cache_type == REGCACHE_NONE) {You still need to do the byte swap here.
+ ret = _regmap_raw_write(map, reg, val, val_bytes * val_count);
The format_val is require integer argument and issue is that I dont have this otherwise I need not to parse, can use directly.+ } else {They're currently symmetric but really this should use format_val().
+ for (i = 0; i< val_count; i++) {
+ memcpy(map->work_buf, val + (i * val_bytes), val_bytes);
+ ival = map->format.parse_val(map->work_buf);
* Unknown Key
* 0x6E30FDDD