On Fri, Sep 12, 2025 at 11:49:49AM +0800, Damon Ding wrote: > In analogix_dp_link_start(), &link_train.training_lane[] is used to > set phy PE/VS configurations, and buf[] is initialized with the same > values to set DPCD DP_TRAINING_LANEx_SET. > > It makes sense to reuse &link_train.training_lane[] to set DPCD > DP_TRAINING_LANEx_SET, which can remove the redundant assignments > and make codes more consice. > > Signed-off-by: Damon Ding <[email protected]> > Tested-by: Marek Szyprowski <[email protected]> > > --- > > Changes in v2: > - Add Tested-by tag. > --- > drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
