Re: [PATCH] regmap: Fix order of regmap write log

2020-11-12 Thread Mark Brown
On Thu, 12 Nov 2020 15:02:17 +, Lucas Tanure wrote: > _regmap_write can trigger a _regmap_select_page, which will call > another _regmap_write that will be executed first, but the log shows > the inverse order > > Also, keep consistency with _regmap_read which only logs in case of > success A

Re: [PATCH] regmap: Fix order of regmap write log

2020-11-12 Thread Charles Keepax
On Thu, Nov 12, 2020 at 03:02:17PM +, Lucas Tanure wrote: > _regmap_write can trigger a _regmap_select_page, which will call > another _regmap_write that will be executed first, but the log shows > the inverse order > > Also, keep consistency with _regmap_read which only logs in case of > succ

[PATCH] regmap: Fix order of regmap write log

2020-11-12 Thread Lucas Tanure
_regmap_write can trigger a _regmap_select_page, which will call another _regmap_write that will be executed first, but the log shows the inverse order Also, keep consistency with _regmap_read which only logs in case of success Signed-off-by: Lucas Tanure --- drivers/base/regmap/regmap.c | 11 +