Jurica Vukadin c80b2acdb0 kconfig: Update config changed flag before calling callback
[ Upstream commit ee06a3ef7e3cddb62b90ac40aa661d3c12f7cabc ]

Prior to commit 5ee546594025 ("kconfig: change sym_change_count to a
boolean flag"), the conf_updated flag was set to the new value *before*
calling the callback. xconfig's save action depends on this behaviour,
because xconfig calls conf_get_changed() directly from the callback and
now sees the old value, thus never enabling the save button or the
shortcut.

Restore the previous behaviour.

Fixes: 5ee546594025 ("kconfig: change sym_change_count to a boolean flag")
Signed-off-by: Jurica Vukadin <jura@vukad.in>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-22 13:31:29 +01:00
..
2021-04-26 02:17:39 +09:00
2021-06-05 23:49:46 +09:00
2021-04-14 15:22:49 +09:00
2020-08-14 13:30:03 +09:00
2020-08-14 13:30:03 +09:00
2021-04-14 15:26:09 +09:00
2021-04-14 15:26:09 +09:00
2021-04-14 15:26:09 +09:00
2020-09-25 00:37:13 +09:00