17 Aug
2016
17 Aug
'16
12:42 p.m.
On Wed, Aug 17, 2016 at 08:34:15AM +0800, John Hsu wrote:
On 8/16/2016 6:38 PM, Mark Brown wrote:
You're not open coding this, this is using regmap!
Yes, the regmap raw read will use regmap finally. But it needs format_val to make the value and it is not registered because no such value width, 9 bits. The system will crash if the driver uses regmap_raw_read with 9 bits value.
The whole point with raw read is that it isn't reformatting the value.