On Mon, Apr 07, 2025 at 07:28:30PM +0200, Ivan Vecera wrote:Yes, it is not sufficient. I will describe this in v2 commit description.
Add helpers zl3073x_{read,write}_reg() to access device registers.
These functions have to be called with device lock that can be taken
by zl3073x_{lock,unlock}() or a caller can use defined guard.
regmap has locking. It would be good to explain in detail why regmap
locking is not sufficient.
Andrew