Re: [PATCH] drm/mediatek: hdmi: use regmap_assign_bits() for conditional set/clear
From: CK Hu (胡俊光)
Date: Mon Oct 12 2026 - 03:38:47 EST
On Thu, 2026-09-24 at 16:34 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@xxxxxxx>
>
> Replace multiple if/else blocks using regmap_set_bits()/regmap_clear_bits()
> with the simpler regmap_assign_bits() calls throughout the HDMI v2 driver.
Reviewed-by: CK Hu <ck.hu@xxxxxxxxxxxx>
>
> Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
> ---