Re: [PATCH v3] regmap: Add regmap_field APIs

2013-06-12 Thread Mark Brown
On Tue, Jun 11, 2013 at 01:18:15PM +0100, Srinivas KANDAGATLA wrote: > From: Srinivas Kandagatla > > It is common to access regmap registers at bit level, using > regmap_update_bits or regmap_read functions, however the end user has to > take care of a mask or shifting. This becomes overhead when

[PATCH v3] regmap: Add regmap_field APIs

2013-06-11 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla It is common to access regmap registers at bit level, using regmap_update_bits or regmap_read functions, however the end user has to take care of a mask or shifting. This becomes overhead when such use cases are high. Having a common function to do this is much convenien