[PATCH] drm/mediatek: hdmi: use regmap_assign_bits() for conditional set/clear

CK Hu (胡俊光) ck.hu at mediatek.com
Mon Oct 12 00:34:34 PDT 2026


On Thu, 2026-09-24 at 16:34 +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> 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 at mediatek.com>

> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---


More information about the linux-arm-kernel mailing list