Re: [RFC PATCH 0/1] Verify if register is writeable before a write operation

From: Nandor Han
Date: Tue Apr 02 2019 - 05:59:14 EST


On 4/2/19 12:06 PM, Mark Brown wrote:
On Tue, Apr 02, 2019 at 08:01:21AM +0000, Han Nandor wrote:
Description
-----------
This is an RFC because I don't know if this is a bug or a normal use
case. It seems that the function `_regmap_raw_write_impl` from the regmap
framework verifies that a register is writable only using
the callback function, ignoring the other two (max allowed register,
register ranges)

Please don't send cover letters for single patches, if there is anything
that needs saying put it in the changelog of the patch or after the ---
if it's administrative stuff. This reduces mail volume and ensures that
any important information is recorded in the changelog rather than being
lost.


Copy that. If is OK, we can still discuss about this using this patch and I can send a single patch once the things are clear.