soc: rockchip: power-domain: Replace dsb() with smb()
authorBrian Norris <briannorris@chromium.org>
Tue, 26 Apr 2022 01:45:43 +0000 (18:45 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 30 Apr 2022 13:06:14 +0000 (15:06 +0200)
commit2ca9e472c70f15de768ab200571e2f6634f66394
treea426a8d77ecce1fc9419a668aebcd6d6f334a48d
parent9be1a9996ebd8da27cafc947e4578b2d419dc07e
soc: rockchip: power-domain: Replace dsb() with smb()

It's unclear if these are really needed at all, but seemingly their
purpose is only as a write barrier. Use the general macro instead of the
ARM-specific one.

This driver is partially marked for COMPILE_TEST'ing, but it doesn't
build under non-ARM architectures. Fix this up before *really* enabling
it for COMPILE_TEST.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220426014545.628100-2-briannorris@chromium.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/soc/rockchip/pm_domains.c