mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 15:12:59 +02:00
drm/rockchip: vop2: Fix a mistake value setting of win->layer_id
It's a copy and paste mistake.
Fixes: 314fa96b44d7 ("drm/rockchip: vop2: Make sure previout zpos update
take effect before change it")
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I35e8e9df88fca8ec0169f3c171115ddc1c64e5b9
This commit is contained in:
parent
ee212c7306
commit
147ba75f49
|
|
@ -6693,7 +6693,6 @@ static void vop2_setup_layer_mixer_for_vp(struct vop2_video_port *vp,
|
|||
layer = &vop2->layers[layer_id];
|
||||
win = vop2_find_win_by_phys_id(vop2, win_phys_id);
|
||||
new_layer_cfg = vop2_layer_cfg_update(layer, new_layer_cfg, win->layer_sel_id);
|
||||
win->layer_id = layer->id;
|
||||
win->layer_id = layer_id;
|
||||
layer->win_phys_id = win_phys_id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user